RFR 8207750 : Native handle leak in java.io.WinNTFileSystem.list()

vyom tewari vyom.tewari at oracle.com
Wed Jul 18 05:22:24 UTC 2018


Hi Ivan,

looks good to me, although i am not the official reviewer.

Thanks,

Vyom


On Wednesday 18 July 2018 05:31 AM, Ivan Gerasimov wrote:
> Hello!
>
> In the file WinNTFileSystem_md.c there is a potential leak of native 
> handle obtained from FindFirstFileW() in the unfortunate event of 
> memory allocation failure.
>
> Would you please help review a simple fix?
>
> BUGURL: https://bugs.openjdk.java.net/browse/JDK-8207750
> WEBREV: http://cr.openjdk.java.net/~igerasim/8207750/00/webrev/
>
> Thanks in advance!
>



More information about the core-libs-dev mailing list