mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 23:08:49 +02:00
util/nvmutil: fix bad loop in command sanitizer
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -522,7 +522,7 @@ sanitize_command_list(void)
|
|||||||
{
|
{
|
||||||
size_t c;
|
size_t c;
|
||||||
|
|
||||||
for (c = 0; valid_command(c); c++)
|
for (c = 0; c < N_COMMANDS; c++)
|
||||||
sanitize_command_index(c);
|
sanitize_command_index(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user