/[packages]/cauldron/alsa-tools/current/SOURCES/alsa-tools-1.0.19-format-security.patch
ViewVC logotype

Contents of /cauldron/alsa-tools/current/SOURCES/alsa-tools-1.0.19-format-security.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1611 - (show annotations) (download)
Sun Jan 9 03:51:28 2011 UTC (13 years, 2 months ago) by ahmad
File size: 885 byte(s)
imported package alsa-tools
1 diff -p -up alsa-tools-1.0.19/ld10k1/src/ld10k1.c.orig alsa-tools-1.0.19/ld10k1/src/ld10k1.c
2 --- alsa-tools-1.0.19/ld10k1/src/ld10k1.c.orig 2009-03-21 00:13:40.000000000 -0300
3 +++ alsa-tools-1.0.19/ld10k1/src/ld10k1.c 2009-03-21 00:14:04.000000000 -0300
4 @@ -62,7 +62,7 @@ static void vlog(const char *label, cons
5 localtime(&tp));
6 fprintf(out, "%s %s", timestr, label);
7 } else
8 - fprintf(out, label);
9 + fprintf(out, "%s", label);
10 vfprintf(out, fmt, va);
11 fprintf(out, "\n");
12 fflush(out);
13 diff -p -up alsa-tools-1.0.19/ld10k1/src/lo10k1.c.orig alsa-tools-1.0.19/ld10k1/src/lo10k1.c
14 --- alsa-tools-1.0.19/ld10k1/src/lo10k1.c.orig 2009-03-21 00:12:27.000000000 -0300
15 +++ alsa-tools-1.0.19/ld10k1/src/lo10k1.c 2009-03-21 00:13:02.000000000 -0300
16 @@ -868,7 +868,7 @@ err:
17
18 void debug_print(char *str)
19 {
20 - printf(str);
21 + printf("%s", str);
22 }
23
24 static int debug(int deb)

  ViewVC Help
Powered by ViewVC 1.1.30