diff options
author | tb <> | 2023-03-10 09:44:54 +0000 |
---|---|---|
committer | tb <> | 2023-03-10 09:44:54 +0000 |
commit | 1e4a6f5f3046ceb9e3739079089d950ec2b9715f (patch) | |
tree | 78fc1e85e2052743372175c9e30021f8e0631373 /src/lib | |
parent | e3a7ee0097de9acbe9d25637a9693d983eb0ec1b (diff) | |
download | openbsd-1e4a6f5f3046ceb9e3739079089d950ec2b9715f.tar.gz openbsd-1e4a6f5f3046ceb9e3739079089d950ec2b9715f.tar.bz2 openbsd-1e4a6f5f3046ceb9e3739079089d950ec2b9715f.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')
0 files changed, 0 insertions, 0 deletions