svn commit: samba r19070 - in branches/SAMBA_3_0/source/libsmb: .

vlendec at samba.org vlendec at samba.org
Wed Oct 4 19:09:32 GMT 2006


Author: vlendec
Date: 2006-10-04 19:09:32 +0000 (Wed, 04 Oct 2006)
New Revision: 19070

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19070

Log:
If there's an error in the data struct, there's no point to continue with
asn1_pop_tag.

Volker

Modified:
   branches/SAMBA_3_0/source/libsmb/asn1.c


Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/asn1.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/asn1.c	2006-10-04 19:08:36 UTC (rev 19069)
+++ branches/SAMBA_3_0/source/libsmb/asn1.c	2006-10-04 19:09:32 UTC (rev 19070)
@@ -74,6 +74,10 @@
 	struct nesting *nesting;
 	size_t len;
 
+	if (data->has_error) {
+		return False;
+	}
+
 	nesting = data->nesting;
 
 	if (!nesting) {



More information about the samba-cvs mailing list