summaryrefslogtreecommitdiffstats
path: root/debian/patches/Whitelist-DPKG_COLORS-environment-variable.diff
blob: c2e17113fcb2ec7a769414b72ef0a8e540e99ddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 18087bc16ec20ca2c8f0045a6b0408e94c53075c Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Wed, 4 May 2016 01:53:13 +0200
Subject: [PATCH] Whitelist DPKG_COLORS environment variable

---
 plugins/sudoers/env.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/sudoers/env.c b/plugins/sudoers/env.c
index 9065250..c037bd8 100644
--- a/plugins/sudoers/env.c
+++ b/plugins/sudoers/env.c
@@ -188,6 +188,7 @@ static const char *initial_checkenv_table[] = {
 static const char *initial_keepenv_table[] = {
     "COLORS",
     "DISPLAY",
+    "DPKG_COLORS",
     "HOSTNAME",
     "KRB5CCNAME",
     "LS_COLORS",
-- 
2.8.1