]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cmd: eficonfig: adjust struct eficonfig_entry, field key
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 29 Apr 2026 16:56:29 +0000 (18:56 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 5 May 2026 14:29:08 +0000 (16:29 +0200)
commit7d48344aff1efdeb1bb95cbbf923674be6b49652
treee76e8b888b4f989186673f004d69992f1439c863
parent28980318032ea19031f0a739221e24f1ad87a09c
cmd: eficonfig: adjust struct eficonfig_entry, field key

The number EFICONFIG_ENTRY_NUM_MAX - 1 must be printable
to field key of struct eficonfig_entry.

Fixes: 1f0583beeb32 ("eficonfig: set EFICONFIG_ENTRY_NUM_MAX to INT_MAX - 1")
Fixes: 23aa0502a4b9 ("eficonfig: increase the number of menu entries")
Addresses-Coverity-ID: 583414 - Out-of-bounds write
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_config.h