CVE-2020-27840: pytests: move Dn.validate test to ldb
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Feb 2021 03:28:43 +0000 (16:28 +1300)
committerKarolin Seeger <kseeger@samba.org>
Fri, 19 Mar 2021 08:15:47 +0000 (09:15 +0100)
commit56a72e2562a1e7c690ff2500309fce0371c3576d
tree7ecc8bd1a17f057fa71529ab26b46837e6f60336
parent2193d84004581d68a6e5b5cac76b7c78bdfc4e33
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