From 850efe2a5700c2ba30f9e9860dd83143cf15da34 Mon Sep 17 00:00:00 2001 From: "Aaron W. Swenson" Date: Sun, 11 Feb 2018 10:54:10 -0500 Subject: dev-db/postgresql: Cleanup Old and Insecure Files Bug: https://bugs.gentoo.org/627462 Bug: https://bugs.gentoo.org/636978 Bug: https://bugs.gentoo.org/630824 Bug: https://bugs.gentoo.org/603720 Bug: https://bugs.gentoo.org/603716 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- .../files/postgresql-9.2-9.4-tz-dir-overflow.patch | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 dev-db/postgresql/files/postgresql-9.2-9.4-tz-dir-overflow.patch (limited to 'dev-db/postgresql/files/postgresql-9.2-9.4-tz-dir-overflow.patch') diff --git a/dev-db/postgresql/files/postgresql-9.2-9.4-tz-dir-overflow.patch b/dev-db/postgresql/files/postgresql-9.2-9.4-tz-dir-overflow.patch deleted file mode 100644 index 59e43c5384e7..000000000000 --- a/dev-db/postgresql/files/postgresql-9.2-9.4-tz-dir-overflow.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/src/timezone/pgtz.c 2015-02-02 15:45:23.000000000 -0500 -+++ b/src/timezone/pgtz.c 2015-04-07 14:21:22.341832190 -0400 -@@ -1615,6 +1615,13 @@ - if (direntry->d_name[0] == '.') - continue; - -+ /* copy current working directory so that there is no risk of modification by basename(), -+ * and compare to current direntry name; skip if they are the same as this is a recursive fs loop -+ */ -+ snprintf(fullname, MAXPGPATH, "%s", dir->dirname[dir->depth]); -+ if (strncmp(direntry->d_name,basename(fullname),strlen(direntry->d_name)) == 0) -+ continue; -+ - snprintf(fullname, MAXPGPATH, "%s/%s", - dir->dirname[dir->depth], direntry->d_name); - if (stat(fullname, &statbuf) != 0) -- cgit v1.2.3