[Bug 233911] efibootmgr(8) segfaults when passed a kernel
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 10 20:12:49 UTC 2018
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: bugs at FreeBSD.org
Reporter: bcran at 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.
More information about the freebsd-bugs
mailing list