Bugzilla – Attachment 1187 Details for
Bug 1235
[PATCH] scp does unnecessary getpwuid(), breaking chroot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for scp
scp.diff (text/plain), 480 bytes, created by
Matthijs Kooijman
on 2006-09-25 10:00:13 AEST
(
hide
)
Description:
Patch for scp
Filename:
MIME Type:
Creator:
Matthijs Kooijman
Created:
2006-09-25 10:00:13 AEST
Size:
480 bytes
patch
obsolete
>--- scp.c Sat Sep 23 16:19:01 2006 >+++ scp.c.orig Sat Sep 23 16:18:19 2006 >@@ -298,9 +298,8 @@ > argc -= optind; > argv += optind; > >- if (!iamremote) /* Username not needed on remote end and might not be available when chrooted */ >- if ((pwd = getpwuid(userid = getuid())) == NULL) >- fatal("unknown user %u", (u_int) userid); >+ if ((pwd = getpwuid(userid = getuid())) == NULL) >+ fatal("unknown user %u", (u_int) userid); > > if (!isatty(STDERR_FILENO)) > showprogress = 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 1235
:
1187
|
1188