Bugzilla – Attachment 2363 Details for
Bug 2163
unchecked returned value from pam_get_item()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sshconnect2.c.diff
file_2163.txt (text/plain), 722 bytes, created by
Loganaden Velvindron
on 2013-10-22 23:17:02 AEDT
(
hide
)
Description:
sshconnect2.c.diff
Filename:
MIME Type:
Creator:
Loganaden Velvindron
Created:
2013-10-22 23:17:02 AEDT
Size:
722 bytes
patch
obsolete
>Index: sshconnect2.c >=================================================================== >RCS file: /cvs/openssh/sshconnect2.c,v >retrieving revision 1.191 >diff -u -p -r1.191 sshconnect2.c >--- sshconnect2.c 5 Jun 2013 22:22:05 -0000 1.191 >+++ sshconnect2.c 21 Oct 2013 10:25:43 -0000 >@@ -1628,7 +1628,8 @@ ssh_keysign(Key *key, u_char **sigp, u_i > } > if (pid == 0) { > /* keep the socket on exec */ >- fcntl(packet_get_connection_in(), F_SETFD, 0); >+ if (fcntl(packet_get_connection_in(), F_SETFD, 0) < 0) >+ return -1; > permanently_drop_suid(getuid()); > close(from[0]); > if (dup2(from[1], STDOUT_FILENO) < 0) >@@ -1942,4 +1943,3 @@ authmethods_get(void) > buffer_free(&b); > return list; > } >-
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 2163
:
2356
|
2357
|
2358
|
2359
|
2360
|
2361
|
2362
| 2363 |
2381