Fix the offset checks in the trans routines
commita0d850515796328d92ca42032c765afce477e039
authorVolker Lendecke <vl@samba.org>
Sat, 8 Nov 2008 16:14:06 +0000 (8 17:14 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 27 Nov 2008 13:58:46 +0000 (27 14:58 +0100)
tree74d574665fa07b0e11699a53b9ce88759f1217b6
parent26e82e3e006a80c9d4d1cb437eb39b02efa7c3ad
Fix the offset checks in the trans routines

This fixes a potential crash bug, a client can make us read memory we
should not read. Luckily I got the disp checks right...

Volker
source/smbd/ipc.c
source/smbd/nttrans.c
source/smbd/trans2.c