The Samba-Bugzilla – Attachment 11538 Details for
Bug 11563
net ads (join|leave) -S INVALID segfaults with nss_wins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.2
v4-2.patch (text/plain), 996 bytes, created by
Andreas Schneider
on 2015-10-27 11:11:07 UTC
(
hide
)
Description:
patch for 4.2
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2015-10-27 11:11:07 UTC
Size:
996 bytes
patch
obsolete
>From 5ae47e9173931fedd6b3adb04ff94b772587fa2a Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Fri, 23 Oct 2015 15:28:23 +0200 >Subject: [PATCH] nss_wins: Use lp_global_no_reinit() > >This avoids that we run into use after free issues when we access memory >allocated on the globals and the global being reinitialized. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11563 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Volker Lendecke <vl@samba.org> > >(cherry picked from commit 0abbfb2e4d5bcd847983ef7981840f1eab7b917c) >--- > nsswitch/wins.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/nsswitch/wins.c b/nsswitch/wins.c >index d63968b..6b5c3e2 100644 >--- a/nsswitch/wins.c >+++ b/nsswitch/wins.c >@@ -53,7 +53,7 @@ static void nss_wins_init(void) > > TimeInit(); > setup_logging("nss_wins",False); >- lp_load(get_dyn_CONFIGFILE(),True,False,False,True); >+ lp_load_global_no_reinit(get_dyn_CONFIGFILE()); > load_interfaces(); > } > >-- >2.6.2 >
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:
vl
:
review+
Actions:
View
Attachments on
bug 11563
: 11538 |
11539