CVE-2020-27840: pytests: move Dn.validate test to ldb
commit4d40e9ce9c7c36d8cd07cc79440811f97428bb80
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Feb 2021 03:28:43 +0000 (11 16:28 +1300)
committerKarolin Seeger <kseeger@samba.org>
Mon, 22 Mar 2021 10:53:16 +0000 (22 11:53 +0100)
tree5b2751a350df63def4564619882f6469c04189d9
parent4caf1ebc7a09d2743757da31db7e88b0321a3533
CVE-2020-27840: pytests: move Dn.validate test to ldb

We had the test in the Samba Python segfault suite because
a) the signal catching infrastructure was there, and
b) the ldb tests lack Samba's knownfail mechanism, which allowed us to
   assert the failure.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14595

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/tests/python/crash.py [new file with mode: 0644]
lib/ldb/wscript
python/samba/tests/segfault.py