Remove the variable "size" from reply_nttrans
authorVolker Lendecke <vl@samba.org>
Sat, 8 Nov 2008 15:14:12 +0000 (16:14 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 28 Nov 2008 07:24:28 +0000 (08:24 +0100)
commit738271fc2026b2911b7d20a73496989641714df3
tree983613874081b507d5de48e296dc4e0f8db9805f
parent9da3101e449649f0614240f13157ac81e17b2e90
Remove the variable "size" from reply_nttrans

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/nttrans.c