Re: [9] RFR 8025669: [parfait] warning from b62 for jdk.src.solaris.native.com.sun.security.auth.module: memory leak

2014-02-05 Thread Chris Hegarty
Looks good to me Vincent. -Chris. On 5 Feb 2014, at 17:06, Vincent Ryan wrote: > Please review this fix for a potential memory leak in JAAS native code on > Solaris: > > Webrev: http://cr.openjdk.java.net/~vinnie/8025669/webrev.00/ > > The fix ensures that the calloc’d memory always gets fre

Re: [9] RFR 8025669: [parfait] warning from b62 for jdk.src.solaris.native.com.sun.security.auth.module: memory leak

2014-02-05 Thread Alan Bateman
On 05/02/2014 17:06, Vincent Ryan wrote: Please review this fix for a potential memory leak in JAAS native code on Solaris: Webrev: http://cr.openjdk.java.net/~vinnie/8025669/webrev.00/ The fix ensures that the calloc’d memory always gets freed. Thanks. This looks okay to me. -Alan.

[9] RFR 8025669: [parfait] warning from b62 for jdk.src.solaris.native.com.sun.security.auth.module: memory leak

2014-02-05 Thread Vincent Ryan
Please review this fix for a potential memory leak in JAAS native code on Solaris: Webrev: http://cr.openjdk.java.net/~vinnie/8025669/webrev.00/ The fix ensures that the calloc’d memory always gets freed. Thanks.

[9] RFR 8011983: False positive: unportable format string argument mismatch in jdk/src/windows/native/com/sun/security/auth/module/nt.c

2014-02-05 Thread Vincent Ryan
Hello, I’d like to make the following trivial fix to a JAAS function in native code on Windows. It simply corrects a printf statement to expect a pointer: diff --git a/src/windows/native/com/sun/security/auth/module/nt.c b/src/windows/native/com/sun/security/auth/module/nt.c --- a/src/windows/

Re: Code Review request: 8028591: NegativeArraySizeException in sun.security.util.DerInputStream.getUnalignedBitString()

2014-02-05 Thread Sean Mullan
Hi Artem, The specific fix looks fine, but there are many other calls to getLength() in DerInputStream that subsequently initialize an array with the return value, and could also cause the same issue. It seems to me that a better fix would be to pass a flag to the getLength method (or create