From: | "Peter Volkov (pva)" <pva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.4.2-su_no_sanitize_env.patch |
Date: | Wed, 27 Jan 2010 10:32:34 |
Message-Id: | E1Na5CK-0000Tw-45@stork.gentoo.org |
1 | pva 10/01/27 10:32:32 |
2 | |
3 | Added: shadow-4.1.4.2-su_no_sanitize_env.patch |
4 | Log: |
5 | Upstream patch: su should not sanitize_env(), bug #301957. |
6 | (Portage version: 2.1.7.16/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-apps/shadow/files/shadow-4.1.4.2-su_no_sanitize_env.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-su_no_sanitize_env.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4.2-su_no_sanitize_env.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: shadow-4.1.4.2-su_no_sanitize_env.patch |
15 | =================================================================== |
16 | http://bugs.gentoo.org/show_bug.cgi?id=301957 |
17 | https://alioth.debian.org/scm/browser.php?group_id=30580 |
18 | |
19 | --- a/src/su.c |
20 | +++ b/src/su.c |
21 | @@ -342,7 +342,7 @@ |
22 | #endif |
23 | #endif /* !USE_PAM */ |
24 | |
25 | - sanitize_env (); |
26 | + /* sanitize_env (); */ |
27 | |
28 | (void) setlocale (LC_ALL, ""); |
29 | (void) bindtextdomain (PACKAGE, LOCALEDIR); |