The Samba-Bugzilla – Attachment 7943 Details for
Bug 9213
Bad ASN.1 NegTokenInit packet can cause invalid free.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for all releases.
0001-Fix-bug-9213-Bad-ASN.1-NegTokenInit-packet-can-cause.patch (text/plain), 978 bytes, created by
Jeremy Allison
on 2012-09-26 17:52:57 UTC
(
hide
)
Description:
Patch for all releases.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-09-26 17:52:57 UTC
Size:
978 bytes
patch
obsolete
>From 83f60672e1b3069e6b1b90b376460da895e37df3 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 25 Sep 2012 16:35:09 -0700 >Subject: [PATCH] Fix bug #9213 - Bad ASN.1 NegTokenInit packet can cause > invalid free. > >Not the correct fix for the specific issue, but a general fix to >make sure this can never happen again. > >Autobuild-User(master): Jeremy Allison <jra@samba.org> >Autobuild-Date(master): Wed Sep 26 04:07:57 CEST 2012 on sn-devel-104 >--- > source3/libsmb/clispnego.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c >index a17efbf..9b4f8f9 100644 >--- a/source3/libsmb/clispnego.c >+++ b/source3/libsmb/clispnego.c >@@ -103,6 +103,10 @@ bool spnego_parse_negTokenInit(TALLOC_CTX *ctx, > bool ret; > ASN1_DATA *data; > >+ for (i = 0; i < ASN1_MAX_OIDS; i++) { >+ OIDs[i] = NULL; >+ } >+ > data = asn1_init(talloc_tos()); > if (data == NULL) { > return false; >-- >1.7.7.3 >
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 9213
: 7943 |
7955