/* archive.c
- Part of the swftools installer.
+ Part of the rfx installer.
- Copyright (c) 2004 Matthias Kramm <kramm@quiss.org>
+ Copyright (c) 2004-2008 Matthias Kramm <kramm@quiss.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
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') {