diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc index 2df932f4..8c4f75d6 100644 --- a/src/processor/minidump.cc +++ b/src/processor/minidump.cc @@ -5492,7 +5492,7 @@ void MinidumpCrashpadInfo::Print() { // Value represents something else. char buffer[3]; for (const uint8_t& v : annot.value) { - sprintf(buffer, "%X", v); + snprintf(buffer, sizeof(buffer), "%X", v); str_value.append(buffer); } }