[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR (XS): 8231600: Avoid GCC 8 strncpy error in jdk.jdwp.agent
From:       Alex Menkov <alexey.menkov () oracle ! com>
Date:       2019-09-30 20:22:53
Message-ID: e56b333b-a2d0-2af9-f75e-2767e8d5bb4d () oracle ! com
[Download RAW message or body]

+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
> 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic