svn commit: samba r19893 - in
branches/SAMBA_3_0/source/lib/ldb/modules: .
vlendec at samba.org
vlendec at samba.org
Sat Nov 25 16:42:23 GMT 2006
Author: vlendec
Date: 2006-11-25 16:42:21 +0000 (Sat, 25 Nov 2006)
New Revision: 19893
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19893
Log:
Fix klokwork id 2191
Modified:
branches/SAMBA_3_0/source/lib/ldb/modules/asq.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/ldb/modules/asq.c
===================================================================
--- branches/SAMBA_3_0/source/lib/ldb/modules/asq.c 2006-11-25 16:41:06 UTC (rev 19892)
+++ branches/SAMBA_3_0/source/lib/ldb/modules/asq.c 2006-11-25 16:42:21 UTC (rev 19893)
@@ -296,7 +296,10 @@
struct ldb_message_element *el;
int i;
- ac = talloc_get_type(handle->private_data, struct asq_context);
+ if (!(ac = talloc_get_type(handle->private_data,
+ struct asq_context))) {
+ return LDB_ERR_OPERATIONS_ERROR;
+ }
/* look up the DNs */
if (ac->base_res == NULL) {
More information about the samba-cvs
mailing list