RFR(XS): 8220072: GCC 8.3 reports errors in java.base
Dmitry Chuyko
dmitry.chuyko at bell-sw.com
Tue May 21 20:24:33 UTC 2019
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