The Samba-Bugzilla – Attachment 11530 Details for
Bug 11565
Memory leak of struct gensec_security_ops *
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.3.next, 4.2.next.
0001-auth-gensec-Parameters-out_mem_ctx-and-ev-are-passed.patch (text/plain), 1.30 KB, created by
Jeremy Allison
on 2015-10-22 18:03:07 UTC
(
hide
)
Description:
git-am fix for 4.3.next, 4.2.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2015-10-22 18:03:07 UTC
Size:
1.30 KB
patch
obsolete
>From b58289445d4f4f20e8832ab24d99dba3c65aefd9 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Wed, 21 Oct 2015 11:13:46 -0700 >Subject: [PATCH] auth: gensec: Parameters out_mem_ctx and ev are passed in the > wrong order to gensec_spnego_server_try_fallback(). > >Fix suggested by <lev@zadarastorage.com>. Fixes a memory leak. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11565 > >Signed-off-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Volker Lendecke <vl@samba.org> > >Autobuild-User(master): Volker Lendecke <vl@samba.org> >Autobuild-Date(master): Thu Oct 22 11:27:19 CEST 2015 on sn-devel-104 > >(cherry picked from commit d4059e1a53ea8940b1b147d797efa1b39a5cabd1) >--- > auth/gensec/spnego.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/auth/gensec/spnego.c b/auth/gensec/spnego.c >index 20cacdb..8fd11e9 100644 >--- a/auth/gensec/spnego.c >+++ b/auth/gensec/spnego.c >@@ -791,7 +791,7 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA > len = spnego_read_data(gensec_security, in, &spnego); > if (len == -1) { > return gensec_spnego_server_try_fallback(gensec_security, spnego_state, >- out_mem_ctx, ev, in, out); >+ ev, out_mem_ctx, in, out); > } > /* client sent NegTargetInit, we send NegTokenTarg */ > >-- >2.6.0.rc2.230.g3dd15c0 >
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 11565
:
11520
| 11530