Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 400778 Details for
Bug 486556
dev-db/postgresql: start up fails (9.1 and earlier), pg_timezone_name query overflows when /usr/share/zoneinfo/posix is a symlink to .
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for postgresql-9.2 through 9.4
postgresql-9.3-timezone-fsloop.patch (text/plain), 695 bytes, created by
Ian Stakenvicius (RETIRED)
on 2015-04-07 20:01:44 UTC
(
hide
)
Description:
fix for postgresql-9.2 through 9.4
Filename:
MIME Type:
Creator:
Ian Stakenvicius (RETIRED)
Created:
2015-04-07 20:01:44 UTC
Size:
695 bytes
patch
obsolete
>--- 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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 486556
:
400770
| 400778