fix "Buffer overflow detected" in cueconvert (Debian #576367)

This commit is contained in:
Dmitry Smirnov
2013-07-05 15:06:21 +10:00
parent 26b7d5295f
commit 92980fd399

View File

@@ -34,7 +34,7 @@ void time_frame_to_msf(long frame, int *m, int *s, int *f)
/* print frame in mm:ss:ff format */
char *time_frame_to_mmssff(long f)
{
static char msf[9];
static char msf[10];
int minutes, seconds, frames;
msf_frame_to_msf(f, &minutes, &seconds, &frames);