[XS] JDK-8180413 : avoid accessing NULL in jdk.jdwp.agent

Langer, Christoph christoph.langer at sap.com
Tue May 16 09:23:44 UTC 2017


Hi Matthias,

this definitely makes sense. If 'data' is NULL, one should not access its fields, except a hard crash is desired... Reviewed. Don't forget to update the copyright year.

Best regards
Christoph

From: Baesken, Matthias
Sent: Dienstag, 16. Mai 2017 11:05
To: core-libs-dev at openjdk.java.net
Cc: Simonis, Volker <volker.simonis at sap.com>; Langer, Christoph <christoph.langer at sap.com>
Subject: [XS] JDK-8180413 : avoid accessing NULL in jdk.jdwp.agent

Hello, could you please review this small change :

http://cr.openjdk.java.net/~mbaesken/webrevs/8180413/

it fixes a number of places in   jdk.jdwp.agent   where in case of an error it is attempted to write to NULL .

Bug :  JDK-8180413 : avoid accessing NULL in jdk.jdwp.agent


https://bugs.openjdk.java.net/browse/JDK-8180413


Best regards, Matthias



More information about the core-libs-dev mailing list