summaryrefslogtreecommitdiffstats
path: root/source/a/shadow/patches/r3090.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/shadow/patches/r3090.diff')
-rw-r--r--source/a/shadow/patches/r3090.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/a/shadow/patches/r3090.diff b/source/a/shadow/patches/r3090.diff
new file mode 100644
index 000000000..46057673e
--- /dev/null
+++ b/source/a/shadow/patches/r3090.diff
@@ -0,0 +1,11 @@
+--- libmisc/env.c.orig 2011-02-13 11:58:11.000000000 -0600
++++ libmisc/env.c 2012-08-14 10:38:25.304917619 -0500
+@@ -251,7 +251,7 @@
+ if (strncmp (*cur, *bad, strlen (*bad)) != 0) {
+ continue;
+ }
+- if (strchr (*cur, '/') != NULL) {
++ if (strchr (*cur, '/') == NULL) {
+ continue; /* OK */
+ }
+ for (move = cur; NULL != *move; move++) {