diff options
| author | tb <> | 2026-08-30 16:52:07 +0000 |
|---|---|---|
| committer | tb <> | 2026-08-30 16:52:07 +0000 |
| commit | f1d663df044f339b954b1cc4da10dceb9675130e (patch) | |
| tree | e7192542c7c13523b2585c40d9c1c6d40ce83694 /src/lib/libc/string/ffs.3 | |
| parent | 243bc4037954a2ed4a91d6ec8f2c796c1c5da943 (diff) | |
| download | openbsd-f1d663df044f339b954b1cc4da10dceb9675130e.tar.gz openbsd-f1d663df044f339b954b1cc4da10dceb9675130e.tar.bz2 openbsd-f1d663df044f339b954b1cc4da10dceb9675130e.zip | |
"Stream" valid PKCS7 objects with omitted content
The PKCS#7 standard marks the content element of the ContentInfo OPTIONAL.
Accordingly, a PKCS#7 object only containing a Content Type OID is valid:
SEQUENCE {
OBJECT_IDENTIFIER { 1.2.840.113549.1.7.4 }
}
Deserializing such an object works and therefore streaming should at least
have the decency of not segfaulting. Of course there's nothing decent about
PKCS#7 be it the standard or its OpenSSL "implementation".
Exercises a problem reported by Acts1361 and currently crashes.
To be fixed in pk7_lib.c r1.32.
Diffstat (limited to 'src/lib/libc/string/ffs.3')
0 files changed, 0 insertions, 0 deletions
