The Samba-Bugzilla – Attachment 7054 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 rb1
pam_winbind-fix-segfault-in-pam_sm_authenticate_rb1.patch (text/plain), 879 bytes, created by
David Disseldorp
on 2011-11-02 16:55:03 UTC
(
hide
)
Description:
proposed fix rb1
Filename:
MIME Type:
Creator:
David Disseldorp
Created:
2011-11-02 16:55:03 UTC
Size:
879 bytes
patch
obsolete
>From 96369155d446f5f1bab5401fd9fed709dcb87e0e 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() > >Ensure the potentially null winbind context is not dereferenced on >cleanup. > >https://bugzilla.samba.org/show_bug.cgi?id=8564 >--- > nsswitch/pam_winbind.c | 7 ++++--- > 1 files changed, 4 insertions(+), 3 deletions(-) > >diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c >index 0497726..cb119a6 100644 >--- a/nsswitch/pam_winbind.c >+++ b/nsswitch/pam_winbind.c >@@ -2733,9 +2733,10 @@ out: > _pam_free_data_info3(pamh); > } > >- _PAM_LOG_FUNCTION_LEAVE("pam_sm_authenticate", ctx, retval); >- >- TALLOC_FREE(ctx); >+ if (ctx != NULL) { >+ _PAM_LOG_FUNCTION_LEAVE("pam_sm_authenticate", ctx, retval); >+ TALLOC_FREE(ctx); >+ } > > return retval; > } >-- >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
Flags:
ddiss
:
review?
(
gd
)
asn
:
review+
Actions:
View
Attachments on
bug 8564
:
7052
| 7054