RFR (XS): 8199010: attachListener.hpp: Fix potential null termination issue found by coverity scans (original) (raw)
Langer, Christoph christoph.langer at sap.com
Mon Mar 5 09:03:19 UTC 2018
- Previous message: 8u: RFR(S): 8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM
- Next message: RFR (XS): 8199010: attachListener.hpp: Fix potential null termination issue found by coverity scans
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
please review a small fix that was identified by a coverity code scan.
In case strlen(name) was the same or larger than name_length_max or resp. strlen(arg) >= arg_length_max, 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/
Thanks Christoph
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20180305/1dd313e8/attachment.html>
- Previous message: 8u: RFR(S): 8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM
- Next message: RFR (XS): 8199010: attachListener.hpp: Fix potential null termination issue found by coverity scans
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]