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
Unknown Object (File)
Mon, Apr 22, 5:58 PM
Unknown Object (File)
Mon, Apr 22, 4:08 PM
Unknown Object (File)
Sat, Apr 6, 11:02 AM
Unknown Object (File)
Fri, Apr 5, 12:49 AM
Unknown Object (File)
Mar 12 2024, 5:43 PM
Unknown Object (File)
Mar 12 2024, 5:43 PM
Unknown Object (File)
Mar 12 2024, 5:43 PM
Unknown Object (File)
Mar 12 2024, 5:35 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.