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 07:52:23 +0000 (08:52 +0100)
commit2d82f0e1b84bb390dbf6a3547e4234bfec4eac21
treea6de6198c48ae2da6075d9db7391d2fcd6a8dc01
parentf89767bea7330ec1936d2312e2b1da7b435c04b7
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