aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndrew Azores <[email protected]>2013-10-24 10:11:37 -0400
committerAndrew Azores <[email protected]>2013-10-24 10:11:37 -0400
commit4d8cfe5bdb364fe3f4fca59c263dc1cdbd87e7e5 (patch)
tree7175edb5bf3e9941300560ebc3d8c3504312ef73 /ChangeLog
parentd124f6a22bbc74de7b95890642615cdf3eaa5029 (diff)
Fix array index out of bounds due to malformed plugin message (PR539)
Failed calls to getString and getMember on JSObjects should not produce malformed result strings. "null" is appended to result rather than empty string. * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: (_getMember, _getString) append "null" to result when call is unsuccessful * tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.html: new test to ensure failed calls to getMember and getString on JSObject do not produce malformed results * tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js: same * tests/reproducers/simple/JSObjectWithoutToString/srcs/JSObjectWithoutToString.java: same * tests/reproducers/simple/JSObjectWithoutToString/testcases/JSObjectWithoutToStringTest.java: same
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d48963..d5c9dd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2013-10-24 Andrew Azores <[email protected]>
+
+ Fix array index out of bounds due to malformed plugin message (PR539)
+ * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: (_getMember,
+ _getString) append "null" to result when call is unsuccessful
+ * tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.html:
+ new test to ensure failed calls to getMember and getString on JSObject do
+ not produce malformed results
+ * tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js:
+ same
+ * tests/reproducers/simple/JSObjectWithoutToString/srcs/JSObjectWithoutToString.java:
+ same
+ * tests/reproducers/simple/JSObjectWithoutToString/testcases/JSObjectWithoutToStringTest.java:
+ same
+
2013-10-23 Jiri Vanek <[email protected]>
C-part of plugin is now also trying to follow XDG