svn commit: samba r20308 - in
branches/SAMBA_4_0/source/libcli/util: .
vlendec at samba.org
vlendec at samba.org
Thu Dec 21 21:14:53 GMT 2006
Author: vlendec
Date: 2006-12-21 21:14:53 +0000 (Thu, 21 Dec 2006)
New Revision: 20308
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20308
Log:
ContextSimple can be zero length -- seen in a multi-step gssapi ldap bind. Did
not find that in Samba3 code, so there's nothing to port.
Volker
Modified:
branches/SAMBA_4_0/source/libcli/util/asn1.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/util/asn1.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/util/asn1.c 2006-12-21 20:52:31 UTC (rev 20307)
+++ branches/SAMBA_4_0/source/libcli/util/asn1.c 2006-12-21 21:14:53 UTC (rev 20308)
@@ -641,7 +641,7 @@
return False;
}
*blob = data_blob(NULL, len);
- if (!blob->data) {
+ if ((len != 0) && (!blob->data)) {
data->has_error = True;
return False;
}
More information about the samba-cvs
mailing list