1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-04 00:59:13 +03:00

pytest:segfault: Add test for deleting an ldb.Message dn

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton
2021-09-25 10:56:25 +12:00
committed by Andrew Bartlett
parent 81e27693c6
commit 6a041f6a99
2 changed files with 7 additions and 0 deletions

View File

@ -222,3 +222,9 @@ class SegfaultTests(samba.tests.TestCase):
del msg
diff.dn
@no_gdb_backtrace
@segfault_detector
def test_ldb_msg_del_dn(self):
msg = ldb.Message()
del msg.dn