svn commit: samba r14334 - in trunk/source/modules: .
jra at samba.org
jra at samba.org
Mon Mar 13 18:43:16 GMT 2006
Author: jra
Date: 2006-03-13 18:43:10 +0000 (Mon, 13 Mar 2006)
New Revision: 14334
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14334
Log:
Fix coverity #77, ensure we can't exit after allocation.
Jeremy.
Modified:
trunk/source/modules/vfs_full_audit.c
Changeset:
Modified: trunk/source/modules/vfs_full_audit.c
===================================================================
--- trunk/source/modules/vfs_full_audit.c 2006-03-13 18:42:57 UTC (rev 14333)
+++ trunk/source/modules/vfs_full_audit.c 2006-03-13 18:43:10 UTC (rev 14334)
@@ -821,6 +821,10 @@
const char *none[] = { NULL };
const char *all [] = { "all" };
+ if (!handle) {
+ return -1;
+ }
+
pd = SMB_MALLOC_P(struct vfs_full_audit_private_data);
if (!pd) {
return -1;
More information about the samba-cvs
mailing list