Author: tridge
Date: 2006-03-15 05:31:51 +0000 (Wed, 15 Mar 2006)
New Revision: 14424

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

Log:

another empty controls case


Modified:
   branches/SAMBA_4_0/source/libcli/ldap/ldap_controls.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap_controls.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/ldap/ldap_controls.c       2006-03-15 
05:30:39 UTC (rev 14423)
+++ branches/SAMBA_4_0/source/libcli/ldap/ldap_controls.c       2006-03-15 
05:31:51 UTC (rev 14424)
@@ -137,7 +137,9 @@
                }
        }
 
-       lssc[num] = NULL;
+       if (lssc != NULL) {
+               lssc[num] = NULL;
+       }
 
        if (!asn1_end_tag(&data)) {
                return False;

Reply via email to