Discussion:
[Bug 233911] efibootmgr(8) segfaults when passed a kernel
b***@freebsd.org
2018-12-10 20:12:47 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233911

Bug ID: 233911
Summary: efibootmgr(8) segfaults when passed a kernel
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: ***@FreeBSD.org
Reporter: ***@FreeBSD.org

When efibootmgr is run and passed an invalid kernel, it segfaults when built
with the default -O2 optimizations.

For example:

efibootmgr -c -L "FreeBSD" -l /mnt/efi/freebsd/LOADER.EFI -k
/boot/kernel/kernel
Segmentation fault

If rebuilt with -O0, it produces the expected error message that it can't
translate the kernel path to a UEFI path.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-12-10 20:13:06 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233911

Rebecca Cran <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|efibootmgr(8) segfaults |efibootmgr(8) segfaults
|when passed a kernel |when passed an invalid
| |kernel path
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...