Page MenuHomeFreeBSD

efivar: Test uuid against zero
ClosedPublic

Authored by imp on Apr 25 2025, 7:33 PM.
Tags
None
Referenced Files
F166569390: D50034.id154432.diff
Fri, Aug 14, 2:24 PM
Unknown Object (File)
Mon, Aug 10, 8:26 PM
Unknown Object (File)
Mon, Aug 10, 6:56 PM
Unknown Object (File)
Mon, Aug 10, 6:56 PM
Unknown Object (File)
Mon, Aug 10, 6:55 PM
Unknown Object (File)
Wed, Aug 5, 8:59 PM
Unknown Object (File)
Wed, Aug 5, 5:08 AM
Unknown Object (File)
Wed, Aug 5, 4:51 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.