6d00c62b3d
bug you are only vulnerable if you locally set the sformat binary suid root. - Respect CC already at the configure-stage of sformat else we end up running configure with GCC and compiling with whatever CC was set to. Submitted by: maintainer
11 lines
290 B
C
11 lines
290 B
C
--- libscg/scsitransp.c.orig Fri Apr 20 10:38:05 2001
|
|
+++ libscg/scsitransp.c Wed May 28 19:36:31 2003
|
|
@@ -1016,7 +1016,7 @@
|
|
register Uchar *cp;
|
|
register int n;
|
|
{
|
|
- js_fprintf(f, s);
|
|
+ js_fprintf(f, "%s", s);
|
|
while (--n >= 0)
|
|
js_fprintf(f, " %02X", *cp++);
|
|
js_fprintf(f, "\n");
|