diff -pru ddrescue-1.27-rc1.orig/loggers.cc ddrescue-1.27-rc1/loggers.cc --- ddrescue-1.27-rc1.orig/loggers.cc 2022-12-16 00:10:51.000000000 +0100 +++ ddrescue-1.27-rc1/loggers.cc 2022-12-22 18:41:57.768074400 +0100 @@ -33,7 +33,7 @@ namespace { const char * format_time_dhms( const long long t ) { - static char buf[32]; + static char buf[33]; const int s = t % 60; const int m = ( t / 60 ) % 60; const int h = ( t / 3600 ) % 24; diff -pru ddrescue-1.27-rc1.orig/main.cc ddrescue-1.27-rc1/main.cc --- ddrescue-1.27-rc1.orig/main.cc 2022-12-16 18:12:15.000000000 +0100 +++ ddrescue-1.27-rc1/main.cc 2022-12-22 18:47:15.769177000 +0100 @@ -183,7 +183,7 @@ Rational parse_rational_time( const char case 'm': r *= 60; break; case 's': case 0 : break; - case ',': if( comma ) break; + case ',': if( comma ) break; // fallthrough default : show_option_error( arg, "Bad unit in time interval argument of", option_name ); std::exit( 1 );