summaryrefslogtreecommitdiffstats
path: root/Misc/setuid-prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/setuid-prog.c')
-rw-r--r--Misc/setuid-prog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/setuid-prog.c b/Misc/setuid-prog.c
index 6f25493..b49438a 100644
--- a/Misc/setuid-prog.c
+++ b/Misc/setuid-prog.c
@@ -105,6 +105,8 @@ clean_environ(void)
**p = 'X';
else if (strncmp(*p, "_RLD", 4) == 0)
**p = 'X';
+ else if (strncmp(*p, "PYTHON", 6) == 0)
+ **p = 'X';
else if (strncmp(*p, "IFS=", 4) == 0)
*p = def_IFS;
else if (strncmp(*p, "CDPATH=", 7) == 0)