selftest: Test repushing an ntlmssp AUTHENTICATE_MESSAGE
commit33e9021cbee4c17ee2f11d02b99902a742d77293
authorAndrew Bartlett <abartlet@samba.org>
Tue, 19 Nov 2019 23:14:52 +0000 (20 12:14 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 20 Nov 2019 04:41:28 +0000 (20 04:41 +0000)
treeb9051e33104cee6a5617c4b958a4e563831daf3c
parentac1be895d2501dc79dcff2c1e03549fe5b5a930c
selftest: Test repushing an ntlmssp AUTHENTICATE_MESSAGE

This demonstrates a bug found by Douglas Bagnall using Hongfuzz and the new fuzz_ndr_X
fuzzer where the value() evaluatuion could segfault if it was made to follow a NULL
pointer.

This also demonstrates that the --base64 mode works on file inputs.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/blackbox/ndrdump.py
selftest/knownfail.d/ndrdump-NTLMSSP [new file with mode: 0644]
source4/librpc/tests/fuzzed_ntlmssp-AUTHENTICATE_MESSAGE.b64.txt [new file with mode: 0644]
source4/librpc/tests/fuzzed_ntlmssp-AUTHENTICATE_MESSAGE.txt [new file with mode: 0644]