RFR(XS): 8220072: GCC 8.3 reports errors in java.base

Dmitry Chuyko dmitry.chuyko at bell-sw.com
Wed May 22 18:38:37 UTC 2019


Thanks for the review, pushed with copyright update.

-Dmitry

On 5/22/19 8:36 PM, Roger Riggs wrote:
> Hi Dmitry,
>
> Looks ok.
>
> Roger
>
>
> On 05/21/2019 04:24 PM, Dmitry Chuyko wrote:
>> Hello,
>>
>> Please review a small fix for compilation error reported by recent 
>> compiler in canonicalize() from canonicalize_md.c. PATH_MAX may be 
>> passed as num argument to strncpy() and ‘\0’ is added to resulting 
>> string. The case of too long name is processed at the beginning of 
>> canonicalize() so duplicate check is removed.
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8220072 
>> <https://bugs.openjdk.java.net/browse/JDK-8220072>
>> webrev: http://cr.openjdk.java.net/~dchuyko/8220072/webrev.01/ 
>> <http://cr.openjdk.java.net/~dchuyko/8220072/webrev.01/>
>> testing: dev-submit 
>> mach5-one-dchuyko-JDK-8220072-1-20190521-1536-2605973: PASSED
>>
>> -Dmitry
>


More information about the core-libs-dev mailing list