diff options
Diffstat (limited to 'sys-apps/shadow/files/shadow-4.0.16-check-opendir.patch')
-rw-r--r-- | sys-apps/shadow/files/shadow-4.0.16-check-opendir.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sys-apps/shadow/files/shadow-4.0.16-check-opendir.patch b/sys-apps/shadow/files/shadow-4.0.16-check-opendir.patch deleted file mode 100644 index e0403cbaa654..000000000000 --- a/sys-apps/shadow/files/shadow-4.0.16-check-opendir.patch +++ /dev/null @@ -1,21 +0,0 @@ -http://bugs.gentoo.org/139148 - -e-mailed upstream - -Index: libmisc/copydir.c -=================================================================== -RCS file: /cvsroot/shadow/libmisc/copydir.c,v -retrieving revision 1.14 -diff -u -p -r1.14 copydir.c ---- libmisc/copydir.c 7 May 2006 18:10:10 -0000 1.14 -+++ libmisc/copydir.c 4 Jul 2006 19:42:22 -0000 -@@ -396,7 +396,8 @@ int remove_tree (const char *root) - * is made set-ID. - */ - -- dir = opendir (root); -+ if (!(dir = opendir (root))) -+ return -1; - - while ((ent = readdir (dir))) { - |