summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-04-23 07:42:13 +0000
committerAndrew Tridgell <tridge@samba.org>2000-04-23 07:42:13 +0000
commitd44ae9e229c67f0bf230c0d64d903a55f592f248 (patch)
treea04c29951bee3e22ef54dc31337dbbc56839c2db
parent71499fbe98b35b7253dbe158ba9d417adecefdc9 (diff)
downloadsamba-d44ae9e229c67f0bf230c0d64d903a55f592f248.tar.gz
samba-d44ae9e229c67f0bf230c0d64d903a55f592f248.tar.bz2
samba-d44ae9e229c67f0bf230c0d64d903a55f592f248.zip
insure caught an uninitialised memory reference - ensure it starts as
zero (This used to be commit 53077295b76487a6eafc6b14b69a91074a02aa35)
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index c82a8074d9..ca9522ecfc 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1605,6 +1605,8 @@ BOOL process_pending_change_notify_queue(time_t t)
uint16 vuid = (lp_security() == SEC_SHARE) ? UID_FIELD_INVALID :
SVAL(cnbp->request_buf,smb_uid);
+ ZERO_STRUCT(change_data);
+
/*
* Ensure we don't have any old chain_fsp values
* sitting around....