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: b...@freebsd.org
          Reporter: bc...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to