svn commit: samba r19892 - in
branches/SAMBA_3_0/source/lib/ldb/modules: .
vlendec at samba.org
vlendec at samba.org
Sat Nov 25 16:41:07 GMT 2006
Author: vlendec
Date: 2006-11-25 16:41:06 +0000 (Sat, 25 Nov 2006)
New Revision: 19892
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19892
Log:
Fix klokwork id 2190
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:39:34 UTC (rev 19891)
+++ branches/SAMBA_3_0/source/lib/ldb/modules/asq.c 2006-11-25 16:41:06 UTC (rev 19892)
@@ -241,8 +241,11 @@
if (!h) {
return LDB_ERR_OPERATIONS_ERROR;
}
- ac = talloc_get_type(h->private_data, struct asq_context);
+ if (!(ac = talloc_get_type(h->private_data, struct asq_context))) {
+ return LDB_ERR_OPERATIONS_ERROR;
+ }
+
req->handle = h;
/* check the search is well formed */
More information about the samba-cvs
mailing list