git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed opengl autodetection.
[swftools.git]
/
installer
/
archive.c
diff --git
a/installer/archive.c
b/installer/archive.c
index
c6aaa01
..
0502845
100644
(file)
--- a/
installer/archive.c
+++ b/
installer/archive.c
@@
-1,8
+1,8
@@
/* archive.c
/* 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
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
@@
-46,7
+46,7
@@
static void msg(char*format, ...)
if(!verbose)
return;
va_start(arglist, 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') {
va_end(arglist);
l = strlen(buf);
while(l && buf[l-1]=='\n') {