Werner Lewis e59a531455 Fix memcpy() UB in mbedtls_asn1_named_data()
Removes a case in mbedtls_asn1_named_data() where memcpy() could be
called with a null pointer and zero length. A test case is added for
this code path, to catch the undefined behavior when running tests with
UBSan.

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
2022-05-04 11:45:06 +01:00
..
2022-04-19 18:31:24 +02:00
2022-04-07 14:51:47 +02:00
2021-12-02 18:03:12 +00:00
2021-12-06 07:50:27 +01:00
2022-02-14 12:24:56 +01:00
2022-04-20 11:05:24 +00:00
2022-04-23 10:34:35 +08:00
2022-03-29 17:43:56 +02:00