s3: Fix the async echo responder for netbios keepalives
authorVolker Lendecke <vl@samba.org>
Wed, 6 Oct 2010 16:24:13 +0000 (18:24 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 7 Oct 2010 09:47:45 +0000 (11:47 +0200)
commitdfebc94185e5ca1fc6e7971f8c71cd377c5a4f32
treef7e3fe755248099a528538985fa112c054ca09be
parent92a2f80e19abdbcbc83bf8f55eae9c7cdfa538e2
s3: Fix the async echo responder for netbios keepalives

This fixes a crash in the echo responder when the client started to send the
NetBIOS-Level 0x85-style keepalive packets. We did not correctly check the
packet length, so the code writing the signing seqnum overwrote memory after
the malloc'ed area for the 4 byte keepalive packet.
source3/smbd/process.c