The Samba-Bugzilla – Attachment 7355 Details for
Bug 8788
spnego_parse_krb5_wrap() frees invalid memory.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix that went into master - applies to v3-6-test
0001-s3-libsmb-Initialise-ticket-to-ensure-we-do-not-inva.patch (text/plain), 1.06 KB, created by
Jeremy Allison
on 2012-03-02 19:32:46 UTC
(
hide
)
Description:
git-am fix that went into master - applies to v3-6-test
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-03-02 19:32:46 UTC
Size:
1.06 KB
patch
obsolete
>From aa0076a0c6eeb62519e73aedc464833e9e77bb18 Mon Sep 17 00:00:00 2001 >From: Andrew Bartlett <abartlet@samba.org> >Date: Thu, 1 Mar 2012 16:55:04 +1100 >Subject: [PATCH] s3-libsmb: Initialise ticket to ensure we do not invalid memory > >The free is however a talloc_free(), which has additional protection against >freeing the wrong thing. > >Andrew Bartlett > >Signed-off-by: Jeremy Allison <jra@samba.org> > >Autobuild-User: Jeremy Allison <jra@samba.org> >Autobuild-Date: Fri Mar 2 01:45:19 CET 2012 on sn-devel-104 >(cherry picked from commit f1452a296429b79755235f4a480f0d5ea38ce178) >--- > source3/libsmb/clispnego.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c >index 4581ce4..f363c20 100644 >--- a/source3/libsmb/clispnego.c >+++ b/source3/libsmb/clispnego.c >@@ -250,6 +250,7 @@ bool spnego_parse_krb5_wrap(TALLOC_CTX *ctx, DATA_BLOB blob, DATA_BLOB *ticket, > bool ret; > ASN1_DATA *data; > int data_remaining; >+ *ticket = data_blob_null; > > data = asn1_init(talloc_tos()); > if (data == NULL) { >-- >1.7.0.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:
abartlet
:
review+
Actions:
View
Attachments on
bug 8788
: 7355