r20363: Fix any possible valgrind errors in srvstr_get_XX or srvstr_pull_XX
commitcd991fb839994dd29dc790b655f5597fa1e12843
authorJeremy Allison <jra@samba.org>
Wed, 27 Dec 2006 20:45:12 +0000 (27 20:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:16:44 +0000 (10 12:16 -0500)
tree5241ee0ba25b33a0b75e7cc8ed04b3810bd92a25
parent683c5fce6896236a60145f6d3970566503c39163
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.
source/smbd/nttrans.c
source/smbd/trans2.c