[PATCH 1/1] cmd: eficonfig: adjust struct eficonfig_entry, field key
Simon Glass
sjg at chromium.org
Sat May 2 14:53:18 CEST 2026
On 2026-04-29T16:56:29, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
> 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
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
>
> include/efi_config.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list