util/nvmutil: fix bad loop in command sanitizer

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-10 15:55:05 +00:00
parent 9691e7e7db
commit ca37bef34f
+1 -1
View File
@@ -522,7 +522,7 @@ sanitize_command_list(void)
{
size_t c;
for (c = 0; valid_command(c); c++)
for (c = 0; c < N_COMMANDS; c++)
sanitize_command_index(c);
}