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)
committerJeremy Allison <jra@samba.org>
Thu, 7 Oct 2010 19:47:35 +0000 (19:47 +0000)
commitfd9effce2bb981207a0662707c30e50100059c06
treea4083cc30288b58aeb11b6141c44210f29bad827
parentfb75355263c16ce17dadd483f0ad40e7c31846f4
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.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Oct  7 19:47:35 UTC 2010 on sn-devel-104
source3/smbd/process.c