Remove the variable "size" from reply_trans
commit9da3101e449649f0614240f13157ac81e17b2e90
authorVolker Lendecke <vl@samba.org>
Sat, 8 Nov 2008 15:14:12 +0000 (8 16:14 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 28 Nov 2008 07:23:46 +0000 (28 08:23 +0100)
treee309340db214bc86c282525562efcba06aeef60e
parent4a322398c5ffaf238eba1e7bfbe47e2d093c7c4d
Remove the variable "size" from reply_trans

This converts the range checks for the setup[] array to rely on req->wct being
set correctly in init_smb_request. As that already verifies the vwv array to be
in the range of the smb_request inbuf, we don't have to do overflow checks here
anymore.

Jeremy, please check thoroughly! :-)

Thanks,

Volker
source3/smbd/ipc.c