RFR (XS): 8231600: Avoid GCC 8 strncpy error in jdk.jdwp.agent
Alex Menkov
alexey.menkov at oracle.com
Mon Sep 30 20:22:53 UTC 2019
+1
--alex
On 09/28/2019 12:12, Chris Plummer wrote:
> Fix looks good.
>
> thanks,
>
> Chris
>
> On 9/28/19 2:09 AM, Florian Weimer wrote:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8231600
>> Webrev: http://cr.openjdk.java.net/~fweimer/8231600/webrev.01/
>>
>> We know the size of the string, so we can use memcpy instead of strncpy.
>>
>> Thanks,
>> Florian
>
More information about the serviceability-dev
mailing list