Bugzilla – Attachment 2356 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]
auth-pam.c.diff
auth-pam.c.diff (text/plain), 614 bytes, created by
Loganaden Velvindron
on 2013-10-21 04:28:54 AEDT
(
hide
)
Description:
auth-pam.c.diff
Filename:
MIME Type:
Creator:
Loganaden Velvindron
Created:
2013-10-21 04:28:54 AEDT
Size:
614 bytes
patch
obsolete
>Index: auth-pam.c >=================================================================== >RCS file: /cvs/openssh/auth-pam.c,v >retrieving revision 1.147 >diff -u -p -r1.147 auth-pam.c >--- auth-pam.c 1 Jun 2013 22:07:32 -0000 1.147 >+++ auth-pam.c 20 Oct 2013 17:13:30 -0000 >@@ -438,8 +438,10 @@ sshpam_thread(void *ctxtp) > const char **ptr_pam_user = &pam_user; > char *tz = getenv("TZ"); > >- pam_get_item(sshpam_handle, PAM_USER, >+ sshpam_err = pam_get_item(sshpam_handle, PAM_USER, > (sshpam_const void **)ptr_pam_user); >+ if (sshpam_err != PAM_SUCCESS) >+ goto auth_fail; > > environ[0] = NULL; > if (tz != NULL)
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