Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217179 Details for
Bug 301467
sys-auth/pam_skey used with sudo can cause segfaults
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pam-skey-1.1.5-presponse-segfault.patch
pam-skey-1.1.5-presponse-segfault.patch (text/plain), 777 bytes, created by
Ulrich Müller
on 2010-01-22 16:22:06 UTC
(
hide
)
Description:
pam-skey-1.1.5-presponse-segfault.patch
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2010-01-22 16:22:06 UTC
Size:
777 bytes
patch
obsolete
>--- pam_skey-1.1.5-orig/pam_skey.c >+++ pam_skey-1.1.5/pam_skey.c >@@ -214,6 +214,7 @@ > struct pam_conv *conv = NULL; > struct pam_response *presponse = NULL; > int i=0; >+ int status; > > /* Better safe than sorry */ > *response = NULL; >@@ -244,12 +245,13 @@ > return PAM_SERVICE_ERR; > } > /* Convert into pam_response */ >- if (conv->conv(i, (const struct pam_message **)pmessage, &presponse, >- conv->appdata_ptr) >- != PAM_SUCCESS) >+ status = conv->conv(i, (const struct pam_message **)pmessage, >+ &presponse, conv->appdata_ptr); >+ if (status != PAM_SUCCESS) > { >- _pam_delete(presponse->resp); >- return PAM_SERVICE_ERR; >+ if (presponse != NULL) >+ _pam_delete(presponse->resp); >+ return status; > } > > if (presponse != 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 301467
:
217163
| 217179