This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2329] New: getresuid has misordered arguments
- From: "samuel dot thibault at ens-lyon dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Feb 2006 12:33:45 -0000
- Subject: [Bug libc/2329] New: getresuid has misordered arguments
- Reply-to: sourceware-bugzilla at sourceware dot org
Hi,
When calling getresuid() from a setuid program, ruid and uid are exchanged. This can make setuid program set the effective uid as real uid too, so that the user that launched the program can't kill it any more...
I'll attach an obvious fix.
Regards,
Samuel
--
Summary: getresuid has misordered arguments
Product: glibc
Version: 2.3.6
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: samuel dot thibault at ens-lyon dot org
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: i686-unknown-gnu0.3
http://sourceware.org/bugzilla/show_bug.cgi?id=2329
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.