CVE-2020-1472(ZeroLogon): s4 torture rpc: repeated bytes in client challenge
authorGary Lockyer <gary@catalyst.net.nz>
Fri, 18 Sep 2020 03:57:34 +0000 (15:57 +1200)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Sep 2020 11:27:16 +0000 (13:27 +0200)
commite4dc8227ae1e28ef7f49d0903d057c7f7912ca27
tree2d2df837d7109530849895eac1a5529bdb1d1cb7
parent7c88d85ca8c513f0fe967f91f4ea64d8f63d0aee
CVE-2020-1472(ZeroLogon): s4 torture rpc: repeated bytes in client challenge

Ensure that client challenges with the first 5 bytes identical are
rejected.

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
[abartlet@samba.org: backported from master as test order was flipped]
source4/torture/rpc/netlogon.c