Details
-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b82
-
Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018666 | 7u45 | John Zavgren | P4 | Closed | Fixed | b01 |
JDK-8008780 | 7u40 | Dmeetry Degrave | P4 | Closed | Fixed | b22 |
Description
The return value of realloc() and malloc() must be checked to catch memory allocation failures.
The following file is effected:
src/windows/native/java/io/WinNTFileSystem_md.c
The following file is effected:
src/windows/native/java/io/WinNTFileSystem_md.c
Attachments
Issue Links
- backported by
-
JDK-8008780 WinNTFileSystem_md.c should correctly check value returned from realloc
- Closed
-
JDK-8018666 WinNTFileSystem_md.c should correctly check value returned from realloc
- Closed
- duplicates
-
JDK-8001585 realloc is used naively in the native code
- Closed