svn commit: samba r14430 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
tridge at samba.org
tridge at samba.org
Wed Mar 15 05:50:17 GMT 2006
Author: tridge
Date: 2006-03-15 05:50:15 +0000 (Wed, 15 Mar 2006)
New Revision: 14430
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14430
Log:
ret can be NULL at the end of this loop
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c 2006-03-15 05:49:45 UTC (rev 14429)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c 2006-03-15 05:50:15 UTC (rev 14430)
@@ -193,7 +193,9 @@
val++;
}
- ret[val] = NULL;
+ if (ret != NULL) {
+ ret[val] = NULL;
+ }
return ret;
}
More information about the samba-cvs
mailing list