diff options
Diffstat (limited to 'installer/archive.c')
-rw-r--r-- | installer/archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/archive.c b/installer/archive.c index a551759a..05028455 100644 --- a/installer/archive.c +++ b/installer/archive.c @@ -46,7 +46,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') { |