author | shshahma |
Thu, 16 Feb 2017 00:50:19 -0800 | |
changeset 46293 | 9a88f7fe04b5 |
parent 46292 | 6c4a987f7cd8 |
child 46294 | 345a46524a19 |
--- a/hotspot/src/share/vm/runtime/java.cpp Mon Feb 27 23:20:05 2017 +0100 +++ b/hotspot/src/share/vm/runtime/java.cpp Thu Feb 16 00:50:19 2017 -0800 @@ -719,6 +719,8 @@ index += rc; if (_security > 0) { rc = jio_snprintf(&buffer[index], buflen - index, ".%d", _security); + if (rc == -1) return; + index += rc; } if (_patch > 0) { rc = jio_snprintf(&buffer[index], buflen - index, ".%d", _patch);