[Bug 282001] Inappropriate "BOOT LOADER IS TOO OLD" / missing initialization of bootprog_rev in lutils.c

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Oct 2024 02:04:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282001

            Bug ID: 282001
           Summary: Inappropriate "BOOT LOADER IS TOO OLD" / missing
                    initialization of bootprog_rev in lutils.c
           Product: Base System
           Version: 13.4-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: crahman@gmail.com

In stable/13 and releng/13.4, core.lua has been updated to display a warning
message if the bootloader version is either not set or less than 3.

However, stand/lua/lutils.c does not set the version during initialization. 
The statement

 lua_pushinteger(L, bootprog_rev);

is missing. As a result, the warning is always present.

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