RFR(XS): 8220072: GCC 8.3 reports errors in java.base
Roger Riggs
Roger.Riggs at oracle.com
Wed May 22 17:36:50 UTC 2019
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