insure caught an uninitialised memory reference - ensure it starts as
authorAndrew Tridgell <tridge@samba.org>
Sun, 23 Apr 2000 07:42:13 +0000 (07:42 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 23 Apr 2000 07:42:13 +0000 (07:42 +0000)
zero
(This used to be commit 53077295b76487a6eafc6b14b69a91074a02aa35)

source3/smbd/nttrans.c

index c82a8074d9d2c24d9a20d898e514c986fa69813b..ca9522ecfcacbac7ce7cf8992db014518348feba 100644 (file)
@@ -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....