Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 89173 Details for
Bug 135974
{x11-base/xorg-x11|x11-terms/xterm} Unchecked set*uid() calls
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libX11
setuid-modular-2.diff (text/plain), 420 bytes, created by
Donnie Berkholz (RETIRED)
on 2006-06-14 09:14:09 UTC
(
hide
)
Description:
libX11
Filename:
MIME Type:
Creator:
Donnie Berkholz (RETIRED)
Created:
2006-06-14 09:14:09 UTC
Size:
420 bytes
patch
obsolete
>diff --git a/src/xlibi18n/lcFile.c b/src/xlibi18n/lcFile.c >index 1c40868..420900e 100644 >--- a/src/xlibi18n/lcFile.c >+++ b/src/xlibi18n/lcFile.c >@@ -269,7 +269,11 @@ #else > if (seteuid(0) != 0) { > priv = 0; > } else { >- seteuid(oldeuid); >+ if (seteuid(oldeuid) == -1) { >+ /* XXX ouch, coudn't get back to original uid >+ what can we do ??? */ >+ _exit(127); >+ } > priv = 1; > } > #endif
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 135974
:
89172
| 89173 |
89174