svn commit: samba r19889 - in
branches/SAMBA_3_0/source/lib/ldb/modules: .
vlendec at samba.org
vlendec at samba.org
Sat Nov 25 16:35:24 GMT 2006
Author: vlendec
Date: 2006-11-25 16:35:22 +0000 (Sat, 25 Nov 2006)
New Revision: 19889
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19889
Log:
Fix klokwork ID 2187
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 15:43:56 UTC (rev 19888)
+++ branches/SAMBA_3_0/source/lib/ldb/modules/asq.c 2006-11-25 16:35:22 UTC (rev 19889)
@@ -105,6 +105,9 @@
int i;
ac = talloc_get_type(handle->private_data, struct asq_context);
+ if (ac == NULL) {
+ return LDB_ERR_OPERATIONS_ERROR;
+ }
handle->status = LDB_SUCCESS;
handle->state = LDB_ASYNC_DONE;
More information about the samba-cvs
mailing list