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
..
2021-10-21 11:33:41 +02:00
2022-03-21 09:49:40 +01:00
2015-04-08 13:25:31 +02:00
2021-06-22 12:47:21 +02:00
2021-06-18 12:59:38 +02:00
2021-12-15 09:02:53 +01:00
2021-06-18 12:59:38 +02:00