Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2018 20:12:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233911] efibootmgr(8) segfaults when passed a kernel
Message-ID:  <bug-233911-227@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: bcran@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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