summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-11 23:17:23 -0800
committerJeremy Allison <jra@samba.org>2008-01-11 23:17:23 -0800
commit9f750996571c75b0be53fdf13705b95bf6126102 (patch)
treed4d84f32e871b181a3e2e034eaad9d32f13fdf6b
parent915647da9cb1227378f53a5a386df69e9348754b (diff)
downloadsamba-9f750996571c75b0be53fdf13705b95bf6126102.tar.gz
samba-9f750996571c75b0be53fdf13705b95bf6126102.tar.bz2
samba-9f750996571c75b0be53fdf13705b95bf6126102.zip
Fix CID 505 - don't copy uninitialized memory.
Jeremy. (This used to be commit 0d2c77e8d3a83f2c5e78fa076f22919ef9d124b9)
-rw-r--r--source3/smbd/notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 5c26cac219..55009ce0b1 100644
--- a/source3/smbd/notify.c
+++ b/source3/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;