r20363: Fix any possible valgrind errors in srvstr_get_XX or srvstr_pull_XX
authorJeremy Allison <jra@samba.org>
Wed, 27 Dec 2006 20:45:12 +0000 (20:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:16:44 +0000 (12:16 -0500)
commitb26a9ad9dfe2976ae1f6c31b270bdcd7818172c3
tree1b19977cd21ac274437693b510c0abb04e4e3175
parentae7526fd55741ecbb0bd90d47a18578f0baafe87
r20363: Fix any possible valgrind errors in srvstr_get_XX or srvstr_pull_XX
by ensuring we pass in a valid src_len (or zero when appropriate).
Volker is correct in that this is a *horrible* interface and he is
now free to generally clean it up everywhere :-). Go for it Volker !
Jeremy.
(This used to be commit cd991fb839994dd29dc790b655f5597fa1e12843)
source3/smbd/nttrans.c
source3/smbd/trans2.c