Skip to content

Commit 2f83b5c

Browse files
committedNov 27, 2022
8297640: Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names
Reviewed-by: chagedorn, rehn
1 parent 50f9043 commit 2f83b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/hotspot/cpu/x86/vm_version_x86.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ void VM_Version::get_processor_features() {
989989
_has_intel_jcc_erratum = IntelJccErratumMitigation;
990990
}
991991

992-
char buf[512];
992+
char buf[1024];
993993
int res = jio_snprintf(
994994
buf, sizeof(buf),
995995
"(%u cores per cpu, %u threads per core) family %d model %d stepping %d microcode 0x%x",

0 commit comments

Comments
 (0)
Please sign in to comment.