diff --git a/core/spdlog/include/spdlog/fmt/bundled/format.h b/core/spdlog/include/spdlog/fmt/bundled/format.h index 7c607db..c758273 100644 --- a/core/spdlog/include/spdlog/fmt/bundled/format.h +++ b/core/spdlog/include/spdlog/fmt/bundled/format.h @@ -1238,7 +1238,7 @@ template format_decimal_result { // Buffer is large enough to hold all digits (digits10 + 1). - Char buffer[digits10() + 1]; + Char buffer[digits10() + 1]={}; auto end = format_decimal(buffer, value, size).end; return {out, detail::copy_str_noinline(buffer, end, out)}; }