RFR(S): JDK-8214444: Wrong strncat limits in dfa.cpp

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Nov 30 19:28:25 UTC 2018

Looks good.

Please, test it through 'submit' repo.


On 11/30/18 4:30 AM, Dmitry Chuyko wrote:
> Hello,
> Please review a small fix for another error found by modern GCC. strncat()-s with wrong limits are replaced by 
> snprintf()-s. For VS2013 compatibility there is additional define and force null termination.
> bug: https://bugs.openjdk.java.net/browse/JDK-8214444
> webrev: http://cr.openjdk.java.net/~dchuyko/8214444/webrev.00/
> testing: submit repo
> -Dmitry

More information about the hotspot-compiler-dev mailing list