Page MenuHomeFreeBSD

libsecureboot: Do not propagate empty string
ClosedPublic

Authored by hum_semihalf.com on May 4 2022, 11:57 AM.
Tags
None
Referenced Files
F133636125: D35120.id105669.diff
Mon, Oct 27, 4:40 AM
F133554491: D35120.id105780.diff
Sun, Oct 26, 3:14 PM
Unknown Object (File)
Sat, Oct 25, 8:31 AM
Unknown Object (File)
Fri, Oct 24, 6:38 PM
Unknown Object (File)
Thu, Oct 23, 12:35 AM
Unknown Object (File)
Wed, Oct 22, 10:53 AM
Unknown Object (File)
Wed, Oct 22, 10:53 AM
Unknown Object (File)
Tue, Oct 21, 8:33 PM
Subscribers

Details

Summary

If Trust Anchors are provided by UEFI and not compiled into
libsecureboot the segmentation fault occurs due to empty
or NULL string usage.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

lib/libsecureboot/vets.c
425

you miss out on OpenPGP support?

Do not return immediately in case TRUST ANCHORS are NULL, as openpgp may be supported as well.

This revision is now accepted and ready to land.May 13 2022, 5:59 PM
This revision now requires review to proceed.May 16 2022, 5:23 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jun 29 2022, 8:51 AM
This revision was automatically updated to reflect the committed changes.