> We potentially leak a handle in case of failing malloc.
> 
> Additionally, GetFinalPathNameByHandleW can fail and return 0.  Then we 
> should free a newly allocated buffer.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Matthias Baesken has updated the pull request incrementally with one additional 
commit since the last revision:

  Some suggestions by alanb

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/33752/files
  - new: https://git.openjdk.org/jdk/pull/33752/files/2f6bf83e..4641792e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33752&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33752&range=00-01

  Stats: 13 lines in 1 file changed: 6 ins; 3 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/33752.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33752/head:pull/33752

PR: https://git.openjdk.org/jdk/pull/33752

Reply via email to