The Samba-Bugzilla – Attachment 7052 Details for
Bug 8564
pam_winbind segfault in pam_sm_authenticate()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed fix
pam_winbind-fix-segfault-in-pam_sm_authenticate.patch (text/plain), 878 bytes, created by
David Disseldorp
on 2011-11-02 16:40:52 UTC
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
David Disseldorp
Created:
2011-11-02 16:40:52 UTC
Size:
878 bytes
patch
obsolete
>From 8a78c2bf1de644f965b424b83954639b9a982f70 Mon Sep 17 00:00:00 2001 >From: David Disseldorp <ddiss@suse.de> >Date: Wed, 2 Nov 2011 18:39:03 +0100 >Subject: [PATCH] pam_winbind: fix segfault in pam_sm_authenticate() > >Skip the cleanup path if context initialisation fails, the cleanup >path dereferences the context pointer. > >https://bugzilla.samba.org/show_bug.cgi?id=8564 >--- > nsswitch/pam_winbind.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c >index 0497726..d3b4faa 100644 >--- a/nsswitch/pam_winbind.c >+++ b/nsswitch/pam_winbind.c >@@ -2598,7 +2598,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags, > > retval = _pam_winbind_init_context(pamh, flags, argc, argv, &ctx); > if (retval) { >- goto out; >+ return retval; > } > > _PAM_LOG_FUNCTION_ENTER("pam_sm_authenticate", ctx); >-- >1.7.3.4 >
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 Raw
Actions:
View
Attachments on
bug 8564
:
7052
|
7054