diff options
Diffstat (limited to 'avi2swf/v2swf.c')
-rw-r--r-- | avi2swf/v2swf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avi2swf/v2swf.c b/avi2swf/v2swf.c index 182821ac..c974bfba 100644 --- a/avi2swf/v2swf.c +++ b/avi2swf/v2swf.c @@ -110,7 +110,7 @@ static void msg(char*format, ...) if(!verbose) return; va_start(arglist, format); - vsprintf(buf, format, arglist); + vsnprintf(buf, sizeof(buf)-1, format, arglist); va_end(arglist); l = strlen(buf); while(l && buf[l-1]=='\n') { |