diff options
author | tb <> | 2023-03-10 09:44:54 +0000 |
---|---|---|
committer | tb <> | 2023-03-10 09:44:54 +0000 |
commit | e618485baac7a3a801239050e123640f8895eac9 (patch) | |
tree | 78fc1e85e2052743372175c9e30021f8e0631373 /src/lib/libcrypto/mem_clr.c | |
parent | d64f5a4232bfc7642ff1fedc79408b9f7961eaf4 (diff) | |
download | openbsd-e618485baac7a3a801239050e123640f8895eac9.tar.gz openbsd-e618485baac7a3a801239050e123640f8895eac9.tar.bz2 openbsd-e618485baac7a3a801239050e123640f8895eac9.zip |
openssl(1) asn1parse: avoid crash with ASN.1 BOOLEANS
When pointing openssl asn1parse -strparse at DER octets 01 01, it crashes:
$ printf '<\x01\x01>' | openssl asn1parse -inform der -strparse 1
Refuse to parse BOOLEAN types instead, which avoids a crash in hensonian
/* hmm... this is a little evil, but it works */ code.
Found while poking at CMS timestamps to understand one of job's diffs.
with/ok jsing
Diffstat (limited to 'src/lib/libcrypto/mem_clr.c')
0 files changed, 0 insertions, 0 deletions