commit 0874b7f8953d87e50774d644c341496324c8733a from: Markus Uhlin date: Sat Mar 7 22:39:01 2026 UTC fix_time: switched to the usage of msnprintf() commit - 5a3df2f6bd2e9a40be8774d111988b2265c27f3e commit + 0874b7f8953d87e50774d644c341496324c8733a blob - 20aae1a513a4df3d562526baeeeaf1175cac0bff blob + 50b31dea75f34c679cc55063c1129d758428e0be --- FICS/utils.c +++ FICS/utils.c @@ -865,9 +865,10 @@ fix_time(char *old_time) date[0] = '0'; date[1] = i; } + date[2] = '\0'; - snprintf(new_time, sizeof new_time, "%s, %s %s", day, month, date); + msnprintf(new_time, sizeof new_time, "%s, %s %s", day, month, date); return &new_time[0]; }