The WITH_PLATFORM_STRING macro in src/share/native/java/io/io_util.h
does not initialize the var variable to zero. When the string supplied
to operate on is null, the macro skips to the end and free()s var, which
could be in an indeterminate state.
does not initialize the var variable to zero. When the string supplied
to operate on is null, the macro skips to the end and free()s var, which
could be in an indeterminate state.
- duplicates
-
JDK-4178792 java.io.File* stream constructors: Null filename causes SEGV
-
- Closed
-