-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
If len_der != len_der_lax
, then we may read uninitialized memory here:
Line 4318 in 912680e
ret |= (memcmp(roundtrip_der_lax, roundtrip_der, len_der) != 0) << 14; |
This should probably be handled similar to
Line 4302 in 912680e
roundtrips_der_lax = (len_der_lax == siglen) && memcmp(roundtrip_der_lax, sig, siglen) == 0; |
Same issues further below for the OpenSSL roundtrip.
Loosely related to #532 but I agree that #532 is not a good idea.
practicalswift
Metadata
Metadata
Assignees
Labels
No labels