1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-04-26 15:08:51 +03:00
Werner Lewis 12ddae870c 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 12:23:26 +01:00
..
2021-08-03 14:01:51 +01:00
2021-06-07 21:42:15 +02:00
2021-06-25 14:59:15 +01:00
2021-12-15 11:55:31 +00:00
2021-08-03 13:39:57 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-04-07 12:45:35 +01:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-12-13 11:14:45 +00:00
2020-11-25 13:10:50 +01:00
2021-11-30 14:49:19 +01:00
2020-11-25 13:10:50 +01:00
2022-04-20 20:58:04 +02:00
2022-02-16 15:49:29 +01:00
2021-08-03 13:39:57 +01:00
2021-08-03 13:39:57 +01:00
2021-08-03 13:39:57 +01:00
2021-08-03 14:08:26 +01:00
2022-03-29 17:56:55 +02:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00