diff options
author | Andrew Azores <[email protected]> | 2013-10-24 10:11:37 -0400 |
---|---|---|
committer | Andrew Azores <[email protected]> | 2013-10-24 10:11:37 -0400 |
commit | 4d8cfe5bdb364fe3f4fca59c263dc1cdbd87e7e5 (patch) | |
tree | 7175edb5bf3e9941300560ebc3d8c3504312ef73 /ChangeLog | |
parent | d124f6a22bbc74de7b95890642615cdf3eaa5029 (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-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |