hanno-becker
c4f885dc02
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-02-08 08:50:01 -05:00
..
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-31 15:45:44 -05:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-02 12:46:39 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2022-12-08 11:05:11 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-02 15:34:23 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-02 12:46:39 +00:00
2023-01-11 14:52:37 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-26 04:33:59 -05:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-02 12:46:39 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-13 19:01:51 -05:00
2023-01-11 14:52:37 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-08 08:50:01 -05:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-13 08:39:36 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00