From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/smpeg/files: smpeg-0.4.4-format.patch |
Date: | Thu, 04 Sep 2014 07:04:58 |
Message-Id: | 20140904070435.A9E4C4AB0@oystercatcher.gentoo.org |
1 | tupone 14/09/04 07:04:35 |
2 | |
3 | Added: smpeg-0.4.4-format.patch |
4 | Log: |
5 | Make it compile with format-security. Bug #521110 |
6 | |
7 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0145142D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/smpeg/files/smpeg-0.4.4-format.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/smpeg/files/smpeg-0.4.4-format.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/smpeg/files/smpeg-0.4.4-format.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: smpeg-0.4.4-format.patch |
16 | =================================================================== |
17 | --- plaympeg.c.old 2014-09-04 08:55:10.646132150 +0200 |
18 | +++ plaympeg.c 2014-09-04 08:56:57.465210820 +0200 |
19 | @@ -262,7 +262,7 @@ |
20 | answer[i] = c; |
21 | } |
22 | answer[i] = 0; |
23 | - fprintf(stderr, answer + 4); |
24 | + fprintf(stderr, "%s", answer + 4); |
25 | } |
26 | while(answer[3] == '-'); |