From: Heinrich Schuchardt Date: Wed, 6 May 2020 00:37:33 +0200 Subject: [PATCH] efi_loader: fixe unreachable statement in efi_sigstore_parse_siglist In-Reply-To: <4ba5949f-8732-5824-f015-b699cc982871@gmx.de> References: <20200421003857.16190-1-takahiro.akashi@linaro.org> <4ba5949f-8732-5824-f015-b699cc982871@gmx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 5/1/20 8:13 AM, Heinrich Schuchardt wrote: > On 4/21/20 2:38 AM, AKASHI Takahiro wrote: >> "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. >> >> Signed-off-by: AKASHI Takahiro >> Reported-by: Heinrich Schuchardt > Reviewed-by: Heinrich Schuchardt > Patch is merged. Thanks Heinrich