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 11:33:18 +0000 (13:33 +0200)
commit0d1c1807f5ed6d58e02c4bd33d9aee683adc61de
tree37d74657cf999701059a3ad66fa5d20be526aaec
parenteb8c6e5c86928e4249c1ee815ddbc6375dec9d0a
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