Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39179 Details for
Bug 63187
app-cdr/cdrtools: fix local root vulnerability
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
scsi-remote.c.diff
scsi-remote.c.diff (text/plain), 540 bytes, created by
Alin Năstac (RETIRED)
on 2004-09-07 22:08:30 UTC
(
hide
)
Description:
scsi-remote.c.diff
Filename:
MIME Type:
Creator:
Alin Năstac (RETIRED)
Created:
2004-09-07 22:08:30 UTC
Size:
540 bytes
patch
obsolete
>--- cdrecord-2.01/librscg/scsi-remote.c.org 2004-08-30 16:09:33.000000000 -0600 >+++ cdrecord-2.01/librscg/scsi-remote.c 2004-08-30 16:11:06.000000000 -0600 >@@ -1071,9 +1071,9 @@ > /* > * Become 'locuser' to tell the rsh program the local user id. > */ >- if (getuid() != pw->pw_uid && >- setuid(pw->pw_uid) == -1) { >- errmsg("setuid(%lld) failed.\n", >+ if ((pw->pw_uid) != geteuid() && >+ seteuid(pw->pw_uid) == -1) { >+ errmsg("seteuid(%lld) failed.\n", > (Llong)pw->pw_uid); > _exit(EX_BAD); > /* NOTREACHED */
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 63187
: 39179