Fix the offset checks in the trans routines
authorVolker Lendecke <vl@samba.org>
Sat, 8 Nov 2008 16:14:06 +0000 (17:14 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 27 Nov 2008 14:19:48 +0000 (15:19 +0100)
commitf04c5650a3aeca23591ddc781c4b297caaf9bb3f
tree517b7f121ec69b034705809d33f293ddbad62ab8
parentca172884bb9f64980d46d3e2cecd6189075cc983
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
(cherry picked from commit 64a1d80851da5b05e70ec6c96f6e9bd473748369)
source/smbd/ipc.c
source/smbd/nttrans.c
source/smbd/trans2.c