aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdam Domurad <[email protected]>2012-05-25 11:23:47 -0400
committerAdam Domurad <[email protected]>2012-05-25 11:23:47 -0400
commitef79a2eab042f66aa10a2356d9a6f80f5b8d544f (patch)
tree0f92b13bf74dc49b19607174e37bb176d555678a /ChangeLog
parentcfc204f1f531f9c867534ea2eca5eca216c99c04 (diff)
Introduced constant NUM_STR_BUFFER_SIZE to replace magic constants.
Clarified some uses of snprintf.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e8e4c0d..5adf170 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2012-05-23 Adam Domurad <[email protected]>
+ Removed instances of snprintf where buffer size was not known. Added
+ buffer size constant for allocating buffers for numeric conversions.
+ * plugin/icedteanp/IcedTeaNPPlugin.cc: Removed usage of snprintf for
+ simple blanking of strings. Buffer size was misguided previously.
+ Used NUM_STR_BUFFER_SIZE constant to replace magic numbers/
+ * plugin/icedteanp/IcedTeaPluginUtils.cc: Made
+ NPVariantToString(NPVariant variant, std::string* result) use two
+ space indentation. Used NUM_STR_BUFFER_SIZE constant to replace magic
+ numbers.
+ * plugin/icedteanp/IcedTeaPluginUtils.h: Added constant,
+ NUM_STR_BUFFER_SIZE.
+
2012-05-24 Danesh Dadachanji <[email protected]>
Fix use of src dir instead of build dir when whitelisting.