diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/tests/segfault.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/samba/tests/segfault.py b/python/samba/tests/segfault.py index c6e17ed6ead..cf450a4a1aa 100644 --- a/python/samba/tests/segfault.py +++ b/python/samba/tests/segfault.py @@ -184,3 +184,9 @@ class SegfaultTests(samba.tests.TestCase): def test_dcerpc_idl_inline_arrays(self): """Inline arrays were incorrectly handled.""" dnsserver.DNS_RPC_SERVER_INFO_DOTNET().pExtensions + + @segfault_detector + def test_ldb_dn_explode_crash(self): + for i in range(106, 550, 5): + dn = ldb.Dn(ldb.Ldb(), "a=b%s,c= " % (' ' * i)) + dn.validate() |