summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/zoo/files/zoo-2.10-security_pathsize.patch')
-rw-r--r--app-arch/zoo/files/zoo-2.10-security_pathsize.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/app-arch/zoo/files/zoo-2.10-security_pathsize.patch b/app-arch/zoo/files/zoo-2.10-security_pathsize.patch
deleted file mode 100644
index 4f89530f43e7..000000000000
--- a/app-arch/zoo/files/zoo-2.10-security_pathsize.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Taken from Fedora
-
---- misc.c
-+++ misc.c
-@@ -135,11 +135,17 @@
- char *fullpath (direntry)
- struct direntry *direntry;
- {
-- static char result[PATHSIZE];
-+ static char result[PATHSIZE+LFNAMESIZE+12]; /* Room for enough space.*/
- combine (result,
- direntry->dirlen != 0 ? direntry->dirname : "",
- (direntry->namlen != 0) ? direntry->lfname : direntry->fname
- );
-+
-+ if (strlen (result) >= PATHSIZE) {
-+ prterror ('f', "Combined dirname and filename too long!\n");
-+ *result = '\0';
-+ }
-+
- return (result);
- }
-