[Rev 01] RFR: 6708: Add santiy check when allocating Object arrays in parser
Henrik Dafgård
hdafgard at openjdk.java.net
Wed Feb 26 13:31:12 UTC 2020
> Checking the size of an array before allocating it is a decent sanity check so the parser doesn't end up reading massive arrays and causing OoMs due to incorrectly written recordings.
The pull request has been updated with 1 additional commit.
-------------
Added commits:
- 4f67f663: Fix formatting
Changes:
- all: https://git.openjdk.java.net/jmc/pull/59/files
- new: https://git.openjdk.java.net/jmc/pull/59/files/3e15030f..4f67f663
Webrevs:
- full: https://webrevs.openjdk.java.net/jmc/59/webrev.01
- incr: https://webrevs.openjdk.java.net/jmc/59/webrev.00-01
Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jmc/pull/59.diff
Fetch: git fetch https://git.openjdk.java.net/jmc pull/59/head:pull/59
PR: https://git.openjdk.java.net/jmc/pull/59
More information about the jmc-dev
mailing list