now smbsrv_setup_reply() and req_setup_chain_reply() do the same thing
tridge: can you please check if this is correct,
I wonder why we don't got valgrind errors...
as the over allocation is disabled currently
metze
(This used to be commit
3441a4a74fb324a4dfbca13219df4c55ebcfbf6c)
return;
}
- req->out.size = NBT_HDR_SIZE + MIN_SMB_SIZE + wct*2 + buflen;
+ req->out.size = NBT_HDR_SIZE + MIN_SMB_SIZE + 1 + VWV(wct) + 2 + buflen;
/* over allocate by a small amount */
req->out.allocated = req->out.size + REQ_OVER_ALLOCATION;