diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-09 04:40:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:27 -0500 |
commit | 22f141166ad8f54282210699921a5de0b8436742 (patch) | |
tree | 5449d21a7f907d9391750b5271a06f8b7a820d4a /source4/smb_server | |
parent | 4b533a90705115410575943ba0cf7630925f7421 (diff) | |
download | samba-22f141166ad8f54282210699921a5de0b8436742.tar.gz samba-22f141166ad8f54282210699921a5de0b8436742.tar.bz2 samba-22f141166ad8f54282210699921a5de0b8436742.zip |
r4109: fixed an uninitialised socket write found by kukks
(This used to be commit 30c58b046d65164da37f705de105662f806e1331)
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/negprot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/negprot.c b/source4/smb_server/negprot.c index a9a213131a..d5e55bf100 100644 --- a/source4/smb_server/negprot.c +++ b/source4/smb_server/negprot.c @@ -183,6 +183,7 @@ static void reply_lanman2(struct smbsrv_request *req, uint16_t choice) SIVAL(req->out.vwv, VWV(6), req->smb_conn->pid); srv_push_dos_date(req->smb_conn, req->out.vwv, VWV(8), t); SSVAL(req->out.vwv, VWV(10), req->smb_conn->negotiate.zone_offset/60); + SIVAL(req->out.vwv, VWV(11), 0); /* Create a token value and add it to the outgoing packet. */ if (req->smb_conn->negotiate.encrypted_passwords) { |