cracknames: Fix DoS (NULL pointer de-ref) when not servicePrincipalName is set on...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jul 2018 02:00:18 +0000 (14:00 +1200)
committerStefan Metzmacher <metze@samba.org>
Tue, 14 Aug 2018 15:42:14 +0000 (17:42 +0200)
commit7ed470b1ad90174166ab561ab95751ffc6e240d9
tree930f20b3335f3d51f8e94c6d65b977d9e5b7af91
parent4a2880b670b261ca9fbc70b4665aa86ee2a2c07a
cracknames: Fix DoS (NULL pointer de-ref) when not servicePrincipalName is set on a user

This regression was introduced in Samba 4.7 by bug 12842 and in
master git commit eb2e77970e41c1cb62c041877565e939c78ff52d.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/dsdb/samdb/cracknames.c
source4/torture/drs/python/cracknames.py