RFR(S): 8252407: Build failure with gcc-8+ and asan
Kim Barrett
kim.barrett at oracle.com
Wed Sep 30 12:19:15 UTC 2020
> On Sep 30, 2020, at 7:09 AM, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:
>
>
>
> On 2020-09-29 13:17, Kim Barrett wrote:
>> Another option might be to solve https://bugs.openjdk.java.net/browse/JDK-8232187
>>
> Will that really help? If a os::strncpy_s method is added to hotspot, how should NetworkInterface.c in libnet be able to use it?
>
> /Magnus
That’s already mentioned in the comments for that bug. A real solution needs to figure out
a solution to that part too. So not an easy solve. Also as mentioned in the comments,
strncpy_s might not be the right API to provide. strscpy might be better.
It might be that bug report should be retitled and the description rewritten.
More information about the net-dev
mailing list