[8u-dev] Request for approval: 8048511: Uninitialised memory in jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c

Wang Weijun weijun.wang at oracle.com
Wed Jul 2 03:02:40 UTC 2014


Hi All 

This is a request to backport a jdk9 fix into jdk8u-dev. 

8048511: Uninitialised memory in jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c

   https://bugs.openjdk.java.net/browse/JDK-8048511

A static code analysis tool is not happy to see a variable not initialized. Initialize it to 0 now.

The fix is already included in jdk9 as: 

   http://hg.openjdk.java.net/jdk9/dev/jdk/rev/a7bb41209acd

The review thread was 

   http://mail.openjdk.java.net/pipermail/security-dev/2013-May/007447.html 

The patch for jdk8u-dev is identical to the one in jdk9.

Thanks 
Weijun 


More information about the jdk8u-dev mailing list