Page MenuHomeFreeBSD

loader.efi: Simplify the code for null decompression a little
ClosedPublic

Authored by imp on Jul 7 2026, 4:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 16, 2:47 PM
Unknown Object (File)
Fri, Oct 16, 6:35 AM
Unknown Object (File)
Mon, Oct 12, 2:47 AM
Unknown Object (File)
Fri, Oct 9, 3:12 AM
Unknown Object (File)
Wed, Oct 7, 11:20 PM
Unknown Object (File)
Tue, Oct 6, 8:21 AM
Unknown Object (File)
Mon, Oct 5, 7:22 PM
Unknown Object (File)
Sep 12 2026, 6:34 AM
Subscribers

Details

Summary

This code is simpler when we spell it the Unix way. Also, add sanity
checks to make sure the offset is where we think it is.

Fixes: afee781523e4 ("loader.efi: Recognize new memdisk=<url> and memcd=<url> options")
Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74573
Build 71456: arc lint + arc unit