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)
Mon, Oct 5, 1:09 AM
Unknown Object (File)
Sun, Oct 4, 10:04 AM
Unknown Object (File)
Wed, Sep 23, 8:05 AM
Unknown Object (File)
Wed, Sep 23, 5:39 AM
Unknown Object (File)
Tue, Sep 22, 10:49 PM
Unknown Object (File)
Tue, Sep 22, 10:46 PM
Unknown Object (File)
Sat, Sep 19, 4:28 PM
Unknown Object (File)
Thu, Sep 10, 5:05 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.