s4:torture: Zero samr_UserInfo union in password set test
commit7656b3e7b959b583fe84d82346f6b16716ef304e
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 2 Aug 2022 03:21:43 +0000 (2 15:21 +1200)
committerJule Anger <janger@samba.org>
Mon, 19 Sep 2022 04:02:12 +0000 (19 04:02 +0000)
treebabf8b06687d0621f2fea5f158b2b692aa0d3416
parent1b0f292ecd0b931323390b27483f01d8c21be2ac
s4:torture: Zero samr_UserInfo union in password set test

If init_samr_CryptPasswordAES() does not fill the
u.info31.password.auth_data array completely, we may be comparing
uninitialised bytes.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 03f0e4d55be80a1a6dcc0dba8e6ed74d9da63dc3)
source4/torture/rpc/samr.c