Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2022 01:56:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 264090] gpart bootcode safety checks
Message-ID:  <bug-264090-3630-NbHdALFMvv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264090-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264090-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264090

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.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264090-3630-NbHdALFMvv>