1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-04-20 12:07:51 +03:00
Gilles Peskine 25665781f6 Rewrite parse_attribute_value_hex_der_encoded()
Rename the function from parse_attribute_value_der_encoded: the hex aspect
seems important.

There was a buffer overflow due to not validating that the intermediate data
fit in the stack buffer. The rewrite doesn't use this buffer, and takes care
not to overflow the buffer that it does use.

Document all that's going on.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-09-25 19:59:31 +02:00
..
2023-08-23 17:15:34 +08:00
2023-08-28 10:58:24 +08:00
2023-08-28 10:58:24 +08:00
2023-07-11 14:06:37 +01:00
2023-09-15 18:30:09 +01:00
2023-08-17 14:36:59 +01:00
2023-09-18 19:09:45 +01:00
2023-06-24 13:37:28 +01:00
2023-09-05 18:15:31 +01:00
2023-04-12 06:07:23 +00:00
2023-08-01 22:41:17 +08:00
2023-08-02 10:32:21 +01:00
2023-03-24 10:43:40 +01:00
2023-09-12 19:18:17 +02:00
2023-09-22 10:01:47 +01:00
2023-07-27 15:46:05 +01:00
2023-08-28 10:58:24 +08:00
2023-07-06 12:42:33 +02:00
2023-03-13 12:15:49 +00:00
2023-06-26 11:11:23 +01:00
2023-09-22 10:01:47 +01:00
2023-09-05 16:53:33 +01:00