summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/o_init.c
diff options
context:
space:
mode:
authortb <>2023-03-10 09:44:54 +0000
committertb <>2023-03-10 09:44:54 +0000
commite618485baac7a3a801239050e123640f8895eac9 (patch)
tree78fc1e85e2052743372175c9e30021f8e0631373 /src/lib/libcrypto/o_init.c
parentd64f5a4232bfc7642ff1fedc79408b9f7961eaf4 (diff)
downloadopenbsd-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/o_init.c')
0 files changed, 0 insertions, 0 deletions