diff options
author | Jeremy Allison <jra@samba.org> | 2007-02-20 06:22:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:06 -0500 |
commit | f77bdcf6c71a9d0274d96298b136300d5bb05bb1 (patch) | |
tree | 1234d128f0e1af6e970ecac41c17677cb6448da2 /source3/libsmb | |
parent | 83dce235507cab7fef284e012982f5665aff55c4 (diff) | |
download | samba-f77bdcf6c71a9d0274d96298b136300d5bb05bb1.tar.gz samba-f77bdcf6c71a9d0274d96298b136300d5bb05bb1.tar.bz2 samba-f77bdcf6c71a9d0274d96298b136300d5bb05bb1.zip |
r21460: Fix for server-side processing of SPNEGO auth
fragmented into "max xmit" size security blob
chunks. Bug #4400. Needs limits adding, and also
a client-side version.
Jeremy.
(This used to be commit aa69f2481aafee5dccc3783b8a6e23ca4eb0dbfa)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/asn1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/libsmb/asn1.c b/source3/libsmb/asn1.c index 937e063c62..6ebe9ab62c 100644 --- a/source3/libsmb/asn1.c +++ b/source3/libsmb/asn1.c @@ -23,6 +23,14 @@ /* free an asn1 structure */ void asn1_free(ASN1_DATA *data) { + struct nesting *nesting = data->nesting; + + while (nesting) { + struct nesting *nnext = nesting->next; + free(nesting); + nesting = nnext; + }; + data->nesting = NULL; SAFE_FREE(data->data); } |