summaryrefslogtreecommitdiff
path: root/selftest/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-05-03 16:22:19 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-05-03 08:17:44 +0200
commit7e091e505156381e385235ab4518b4d133a98497 (patch)
tree823351ece8435ba05953313a2ecff66e8871fa82 /selftest/wscript
parent2096d13274b679c282bdb85c63900eba0d76d1be (diff)
downloadsamba-7e091e505156381e385235ab4518b4d133a98497.tar.gz
s4-lsa: Fix use-after-free in LSA server
This is a regression introduced in ab7988aa2fd1a43f576a4b73a6893c61c7ef1957. The state variable contains the data to be returned to the client and packed into NDR after the function returned. This memory needs to be kept (on mem_ctx as parent) until that is pushed and freed by the caller. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13420 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'selftest/wscript')
0 files changed, 0 insertions, 0 deletions