Do we consider memcpy(ra + 32 - rlen, *sig, rlen)
in secp256k1_der_parse_integer
to be defined in the case of rlen == 0
?
Nothing high priority of course, but perhaps worth fixing? :)
This code was introduced as part of PR #334 (“Overhaul ECDSA signature parsing: strict DER, compact sigs, tests, lower-S”) in 3bb9c447193a6d15726976c141f27d2c3ddd7991 back in 2015.