Fix calculation of useable_space for trans2 and nttrans replies
authorVolker Lendecke <vl@sernet.de>
Mon, 8 Sep 2008 20:53:50 +0000 (22:53 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 8 Sep 2008 22:07:06 +0000 (15:07 -0700)
commit2ae870aead5e0ea7e7f9f6f9730f989ae34755b9
treeeb3cc47b9818e0e2f8e7255582cb166fc7c46888
parent142a9703ae19a467a23ee72429f899dae156df64
Fix calculation of useable_space for trans2 and nttrans replies

When alignment was in place, we pretended to send more data/params according to
the param_offset/param_length and data_offset/data_length parameters than would
actually fit into the SMB according to the NBSS length field.
source/smbd/nttrans.c
source/smbd/trans2.c