diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2020-04-21 09:38:57 +0900 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-05-04 12:26:11 +0200 |
commit | 964d5326c91ab1fd891a26cbd7a1c98b7fc42014 (patch) | |
tree | a24bdad3435092abf4e0bd863a41066ca5332c99 /env/onenand.c | |
parent | e3f5c9cb0fcc95aa9287b5f8609294fe1a59b9da (diff) |
efi_loader: fix unreachable statement in efi_sigstore_parse_siglist
"if (left < esl->signature_size)" is not reachable in a while loop.
But it is still valuable in case that a given signature database is
somehow corrupted. So fix the while loop condition.
Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'env/onenand.c')
0 files changed, 0 insertions, 0 deletions