[Rev 01] RFR: 6708: Add santiy check when allocating Object arrays in parser
Mario Torre
neugens at redhat.com
Wed Feb 26 13:46:09 UTC 2020
Still ok :)
Cheers,
Mario
On Wed, Feb 26, 2020 at 2:31 PM Henrik Dafgård <hdafgard at openjdk.java.net>
wrote:
> > 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
>
>
--
Mario Torre
Associate Manager, Software Engineering
Red Hat GmbH <https://www.redhat.com>
9704 A60C B4BE A8B8 0F30 9205 5D7E 4952 3F65 7898
More information about the jmc-dev
mailing list