diff --git a/apps/statistics/histogram_controller.cpp b/apps/statistics/histogram_controller.cpp index 115c37871..2d1ca5962 100644 --- a/apps/statistics/histogram_controller.cpp +++ b/apps/statistics/histogram_controller.cpp @@ -97,7 +97,7 @@ void HistogramController::reloadBannerView() { } constexpr int precision = Preferences::LargeNumberOfSignificantDigits; constexpr size_t bufferSize = k_maxNumberOfCharacters + 2 * PrintFloat::bufferSizeForFloatsWithPrecision(precision); - char buffer[bufferSize]; + char buffer[bufferSize] = ""; int numberOfChar = 0; // Add Interval Data