b***@freebsd.org
2018-12-10 20:12:47 UTC
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.
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.
You are receiving this mail because:
You are the assignee for the bug.