From 0d2c77e8d3a83f2c5e78fa076f22919ef9d124b9 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 11 Jan 2008 23:17:23 -0800 Subject: [PATCH] Fix CID 505 - don't copy uninitialized memory. Jeremy. --- source/smbd/notify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/smbd/notify.c b/source/smbd/notify.c index 5c26cac2192..55009ce0b1c 100644 --- a/source/smbd/notify.c +++ b/source/smbd/notify.c @@ -235,6 +235,7 @@ NTSTATUS change_notify_create(struct files_struct *fsp, uint32 filter, return NT_STATUS_NO_MEMORY; } + ZERO_STRUCT(e); e.path = fullpath; e.filter = filter; e.subdir_filter = 0; -- 2.11.4.GIT