From: | "Tony Vroon (chainsaw)" <chainsaw@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/mp3gain/files: 1.5.1-format-string.patch |
Date: | Sun, 02 May 2010 14:48:03 |
Message-Id: | 20100502144759.345102C22C@corvid.gentoo.org |
1 | chainsaw 10/05/02 14:47:59 |
2 | |
3 | Added: 1.5.1-format-string.patch |
4 | Log: |
5 | Version bump as requested by Daniel Pinto dos Santos in bug #285794. Dropped long options support as I was unable to rebase it. Addressed format string vulnerability with a patch. |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-sound/mp3gain/files/1.5.1-format-string.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/files/1.5.1-format-string.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mp3gain/files/1.5.1-format-string.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 1.5.1-format-string.patch |
15 | =================================================================== |
16 | diff -uNr work.ORIG//rg_error.c work/rg_error.c |
17 | --- work.ORIG//rg_error.c 2010-05-02 15:42:47.056116105 +0100 |
18 | +++ work/rg_error.c 2010-05-02 15:43:26.851999890 +0100 |
19 | @@ -40,7 +40,7 @@ |
20 | { |
21 | #ifndef asWIN32DLL |
22 | gSuccess = 0; |
23 | - fprintf(stdout, localerrstr); |
24 | + fprintf(stdout, "%s", localerrstr); |
25 | #else |
26 | //send message to DLL's parent |
27 | mp3gainerr = localerrnum; |