Author: tridge Date: 2004-12-09 04:40:57 +0000 (Thu, 09 Dec 2004) New Revision: 4109
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4109 Log: fixed an uninitialised socket write found by kukks Modified: branches/SAMBA_4_0/source/smb_server/negprot.c Changeset: Modified: branches/SAMBA_4_0/source/smb_server/negprot.c =================================================================== --- branches/SAMBA_4_0/source/smb_server/negprot.c 2004-12-09 01:07:06 UTC (rev 4108) +++ branches/SAMBA_4_0/source/smb_server/negprot.c 2004-12-09 04:40:57 UTC (rev 4109) @@ -183,6 +183,7 @@ 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) {