diff --git a/src/details/default_err_handler.cpp b/src/details/default_err_handler.cpp index cd4394b6c..fb91cf44b 100644 --- a/src/details/default_err_handler.cpp +++ b/src/details/default_err_handler.cpp @@ -12,7 +12,7 @@ namespace details { void default_err_handler::handle_ex(const std::string &origin, const source_loc &loc, const std::exception &ex) const { std::lock_guard lk{mutex_}; const auto tm_time = os::localtime(); - char date_buf[128]; + char date_buf[64]; std::strftime(date_buf, sizeof(date_buf), "%Y-%m-%d %H:%M:%S", &tm_time); std::string msg; if (loc.empty()) {