Page MenuHomeFreeBSD

efivar: Test uuid against zero
ClosedPublic

Authored by imp on Apr 25 2025, 7:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 9, 2:41 AM
Unknown Object (File)
Thu, Nov 6, 5:03 AM
Unknown Object (File)
Tue, Nov 4, 12:21 PM
Unknown Object (File)
Tue, Nov 4, 12:12 PM
Unknown Object (File)
Tue, Nov 4, 12:05 PM
Unknown Object (File)
Tue, Nov 4, 12:05 PM
Unknown Object (File)
Tue, Nov 4, 11:57 AM
Unknown Object (File)
Mon, Nov 3, 11:07 AM
Subscribers
None

Details

Summary

Test the passed in GuID against a guid of all 0's. This removes another
place that has to worry about the difference between uuit_t and
EFI_GUID.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Apr 25 2025, 7:33 PM
imp created this revision.
lib/libefivar/efivar.c
295

Consider dropping zero in favor of efi_guid_empty

update per kyle's suggestion

This revision is now accepted and ready to land.Apr 29 2025, 10:19 AM
This revision was automatically updated to reflect the committed changes.