Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2040889 | 1.4.0 | Hui Huang | P3 | Closed | Fixed | beta |
As seen in bug 4399518, VM crashes on Linux due to native libraries passing
in negative buffer size, which is illegal. VM can avoid this by casting buffer
size to signed integer and checking if it's negative before calling the
standard vsnprintf() in C library. This is a workaround for 4399518 and
can prevent similar buffer overrun problems in the future.
in negative buffer size, which is illegal. VM can avoid this by casting buffer
size to signed integer and checking if it's negative before calling the
standard vsnprintf() in C library. This is a workaround for 4399518 and
can prevent similar buffer overrun problems in the future.
- backported by
-
JDK-2040889 jio_vsnprintf() should check buffer size as a safe guard
-
- Closed
-