Fix the offset checks in the trans routines
commit114f519233cd37bfd623db820e888469c75fab26
authorVolker Lendecke <vl@samba.org>
Sat, 8 Nov 2008 16:14:06 +0000 (8 17:14 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 27 Nov 2008 16:19:01 +0000 (27 17:19 +0100)
treef349bd5d80d428d51f6b15ea19fb38feda99a825
parent58db2befbd82b8e1e7cb7de29da7f567dea314e9
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)
(cherry picked from commit f04c5650a3aeca23591ddc781c4b297caaf9bb3f)
source3/smbd/ipc.c
source3/smbd/nttrans.c
source3/smbd/trans2.c