Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 54174 Details for
Bug 86257
sys-fs/e2fsprogs: BLKID_FILE should not be honored in SUID
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
e2fsprogs-1.36-blkid-cache.patch
e2fsprogs-1.36-blkid-cache.patch (text/plain), 512 bytes, created by
solar (RETIRED)
on 2005-03-22 12:26:58 UTC
(
hide
)
Description:
e2fsprogs-1.36-blkid-cache.patch
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2005-03-22 12:26:58 UTC
Size:
512 bytes
patch
obsolete
>--- lib/blkid/cache.c.orig 2005-03-22 14:48:19.000000000 -0500 >+++ lib/blkid/cache.c 2005-03-22 14:53:08.000000000 -0500 >@@ -41,8 +41,13 @@ int blkid_get_cache(blkid_cache *ret_cac > > if (filename && !strlen(filename)) > filename = 0; >- if (!filename) >+ >+ if (!filename && (getuid() == geteuid())) >+#ifdef __UCLIBC__ > filename = getenv("BLKID_FILE"); >+#else >+ filename = __secure_getenv("BLKID_FILE"); >+#endif > if (!filename) > filename = BLKID_CACHE_FILE; > cache->bic_filename = blkid_strdup(filename);
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 86257
:
54173
| 54174