The Samba-Bugzilla – Attachment 6922 Details for
Bug 8472
Crash in asn.1 parsing code.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Current patch I'm testing.
look2 (text/plain), 572 bytes, created by
Jeremy Allison
on 2011-09-21 01:53:43 UTC
(
hide
)
Description:
Current patch I'm testing.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2011-09-21 01:53:43 UTC
Size:
572 bytes
patch
obsolete
>diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c >index 4581ce4..d584f9f 100644 >--- a/source3/libsmb/clispnego.c >+++ b/source3/libsmb/clispnego.c >@@ -126,7 +126,12 @@ bool spnego_parse_negTokenInit(TALLOC_CTX *ctx, > asn1_start_tag(data,ASN1_CONTEXT(0)); > asn1_start_tag(data,ASN1_SEQUENCE(0)); > for (i=0; asn1_tag_remaining(data) > 0 && i < ASN1_MAX_OIDS-1; i++) { >- asn1_read_OID(data,ctx, &OIDs[i]); >+ if (!asn1_read_OID(data,ctx, &OIDs[i])) { >+ break; >+ } >+ if (data->has_error) { >+ break; >+ } > } > OIDs[i] = NULL; > asn1_end_tag(data);
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
Actions:
View
Attachments on
bug 8472
: 6922