[Bug 264090] gpart bootcode safety checks
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 May 2022 01:56:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264090
Xin LI <delphij@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |delphij@FreeBSD.org
--- Comment #5 from Xin LI <delphij@FreeBSD.org> ---
I have been bite by a similar issue today. Basically gpart bootcode happily
wrote loader.efi (a PE binary) to the EFI partition as instructed. PEBKAC, I
know, but we could do better by performing some basic checks like the image
written to EFI partion should be a FAT image, the freebsd-boot image should be
greater than certain size and do not contain PE header or a FAT image, etc.
--
You are receiving this mail because:
You are on the CC list for the bug.