From: | "Tobias Scherbaum (dertobi123)" <dertobi123@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-mta/ssmtp/files: CVE-2008-3962.patch |
Date: | Tue, 09 Sep 2008 19:30:29 |
Message-Id: | E1Kd8uw-0006zP-Rf@stork.gentoo.org |
1 | dertobi123 08/09/09 19:30:26 |
2 | |
3 | Added: CVE-2008-3962.patch |
4 | Log: |
5 | Version bump, security bug #234391 |
6 | (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 mail-mta/ssmtp/files/CVE-2008-3962.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/ssmtp/files/CVE-2008-3962.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/ssmtp/files/CVE-2008-3962.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: CVE-2008-3962.patch |
15 | =================================================================== |
16 | --- ssmtp.orig/ssmtp.c |
17 | +++ ssmtp/ssmtp.c |
18 | @@ -485,6 +485,11 @@ char *from_format(char *str, bool_t over |
19 | die("from_format() -- snprintf() failed"); |
20 | } |
21 | } |
22 | + else { |
23 | + if(snprintf(buf, BUF_SZ, "%s", str) == -1) { |
24 | + die("from_format() -- snprintf() failed"); |
25 | + } |
26 | + } |
27 | } |
28 | |
29 | #if 0 |