Hanno Becker
65b20a3649
X.509: Remove red'n bounds checks and zeroiz'n in OtherName parsing
...
- ASN.1 parsing functions check that length don't exceed buffer bounds,
so checks `p + len > end` are redundant.
- If `p + len == end`, this is erroneous because we expect further fields,
which is automatically caught by the next ASN.1 parsing call.
Hence, the two branches handling `p + len >= end` in x509_get_other_name()
can be removed.
Further, zeroization of the `other_name` structure isn't necessary
because it's not confidential (and it's also not performed on other
error conditions in this function).
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com >
2023-01-10 15:13:02 +00:00
..
2021-12-18 13:29:10 +05:30
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2022-12-14 17:04:00 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2022-12-14 17:04:00 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-10 15:13:02 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00
2023-01-05 15:42:32 +00:00