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
F165999960: D58070.id181416.diff
Mon, Aug 10, 10:13 PM
F165929051: D58070.id181660.diff
Mon, Aug 10, 2:10 PM
F165876297: D58070.diff
Mon, Aug 10, 9:46 AM
Unknown Object (File)
Sun, Aug 9, 4:03 AM
Unknown Object (File)
Sat, Aug 8, 7:57 PM
Unknown Object (File)
Sat, Aug 8, 3:49 PM
Unknown Object (File)
Sat, Aug 8, 9:53 AM
Unknown Object (File)
Thu, Aug 6, 10:57 PM
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 Not Applicable
Unit
Tests Not Applicable