Avoid undefined behavior with memcmp(NULL, x, 0) in ASN1_STRING_cmp()
authortb <tb@openbsd.org>
Tue, 15 Aug 2023 17:38:00 +0000 (17:38 +0000)
committertb <tb@openbsd.org>
Tue, 15 Aug 2023 17:38:00 +0000 (17:38 +0000)
commit2c8a0eaeb07022184dab502043bf911295ddbece
tree914e006ef0af852131a4f248856779c954837dd7
parente0fa7f14b5a4ae1ec58ea083aeba2f5ba85f7199
Avoid undefined behavior with memcmp(NULL, x, 0) in ASN1_STRING_cmp()

ok jsing miod
lib/libcrypto/asn1/a_string.c