Skip to content
Commit 9ad15227 authored by Patrick Wildt's avatar Patrick Wildt Committed by Heinrich Schuchardt
Browse files

efi_loader: efi_variable_parse_signature() returns NULL on error



efi_variable_parse_signature() returns NULL on error, so IS_ERR()
is an incorrect check.  The goto err leads to pkcs7_free_message(),
which works fine on a NULL ptr.

Signed-off-by: default avatarPatrick Wildt <patrick@blueri.se>
Reviewed-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
parent 42a426e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment