Fix the offset checks in the trans routines
authorVolker Lendecke <vl@samba.org>
Sat, 8 Nov 2008 16:14:06 +0000 (17:14 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 16 Dec 2008 15:13:53 +0000 (16:13 +0100)
commit4ffda19fb21c44adb6e00c1376d1aa046df709cc
treef2b890f915881fe315ac333a3621a3216885db60
parenta419c9d1ae9f77a88ac76433273171d86f0bb80d
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