mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-04 07:28:22 +00:00
LogFileOutput::rotate() may leave _stream NULL because os::fopen() may return NULL due to space or inode limitations. AsyncLogWriter::write() calls LogFileOutput::write_blocking() without null check. Null check is added to prevent from crashing. Reviewed-by: ysuenaga
Welcome to the JDK!
For build instructions please see the online documentation, or either of these files:
- doc/building.html (html version)
- doc/building.md (markdown version)
See https://openjdk.java.net/ for more information about the OpenJDK Community and the JDK.
Description
Languages
Java
73.9%
C++
14.1%
C
7.9%
Assembly
2.7%
Objective-C
0.4%
Other
0.8%