CVE-2022-3437 source4/heimdal: Use constant-time memcmp() for arcfour unwrap
commitc22914f845b3eba1c9ad444333f3d044352b7e2c
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 12 Oct 2022 00:57:13 +0000 (12 13:57 +1300)
committerJule Anger <janger@samba.org>
Mon, 24 Oct 2022 05:27:02 +0000 (24 07:27 +0200)
treeb003a9bde21800ede35d1ec4b0ccaf0f97cf856e
parent310bffc085514f9ceba5b3501ddef15807c53809
CVE-2022-3437 source4/heimdal: Use constant-time memcmp() for arcfour unwrap

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
[jsutton@samba.org Adapted to small differences in comparisons, and
 removed erroneous duplicate code in conflicting region]
source4/heimdal/lib/gssapi/krb5/arcfour.c