On Tue, 11 May 2021 14:49:42 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> Hello, please review this small Sonar finding. > Sonar reports a potential NULL pointer dereference here : > https://sonarcloud.io/project/issues?id=shipilev_jdk&languages=c&open=AXck8CPLBBG2CXpcnh_z&resolved=false&severities=MAJOR&types=BUG > "Access to field 'item' results in a dereference of a null pointer (loaded > from variable 'new')" > It would be better to add a check . This pull request has now been integrated. Changeset: 00c88f79 Author: Matthias Baesken <mbaes...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/00c88f79b30d7867be4a66317b90b9ba7e947f4f Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod 8266918: merge_stack in check_code.c add NULL check Reviewed-by: rschmelter, clanger ------------- PR: https://git.openjdk.java.net/jdk/pull/3979