1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r14333: Fix coverity #77, ensure we can't exit after allocation.

Jeremy.
(This used to be commit 15d78ab1fc)
This commit is contained in:
Jeremy Allison 2006-03-13 18:42:57 +00:00 committed by Gerald (Jerry) Carter
parent cc41fa4ad7
commit 53019f5a16

View File

@ -816,6 +816,10 @@ static int smb_full_audit_connect(vfs_handle_struct *handle, connection_struct *
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;