changeset 46293 | 9a88f7fe04b5 |
parent 46271 | 979ebd346ecf |
child 46369 | 3bf4544bec14 |
--- 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);