[Bug 277967] Loader should fail gracefully when /boot/loader.conf attempts to load a module that is too large

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Mar 2024 03:23:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277967

            Bug ID: 277967
           Summary: Loader should fail gracefully when /boot/loader.conf
                    attempts to load a module that is too large
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

Currently an attempt to load a module that is too large causes crash, see:
(1) bug#277364
(2) bug#277827

This happens particularly for ndivia-driver.

The loader should fail with a meaningful error message instead of just
crashing.

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