]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Prevent crash on missing signedAttrs
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 6 Aug 2024 16:35:14 +0000 (10:35 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 6 Aug 2024 16:35:14 +0000 (10:35 -0600)
commit4dafbd9de64a5a0616af97365bc1751465b29d2e
tree1aaed7f0f0f8ba9ff10700396b7ffc97ee68367b
parentb1eb3c507ae920859bbe294776ebc2bb30bb7e56
Prevent crash on missing signedAttrs

Though RPKI enforces the presence of this field, it is very much
optional in CMS.
Also adds missing validation messages in relevant error paths.

Thanks to Niklas Vogel for reporting this.
src/asn1/signed_data.c