RFR (XS): 8199010: attachListener.hpp: Fix potential null termination issue found by coverity scans (original) (raw)

David Holmes david.holmes at oracle.com
Mon Mar 5 11:29:26 UTC 2018


Hi Christoph,

On 5/03/2018 7:03 PM, Langer, Christoph wrote:

Hi,

please review a small fix that was identified by a coverity code scan. In case strlen(name) was the same or larger than namelengthmax or resp. strlen(arg) >= arglengthmax, the name or arg fields would not get null terminated correctly. Bug: https://bugs.openjdk.java.net/browse/JDK-8199010 Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8199010.0/

That looks good to me.

Thanks, David

Thanks Christoph



More information about the serviceability-dev mailing list