commit | cd8a55ba31e9cef2b312072a6988768d3b4aa558 | [log] [tgz] |
---|---|---|
author | Patrick Wildt <patrick@blueri.se> | Thu May 07 02:13:18 2020 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu May 07 18:23:16 2020 +0200 |
tree | 60080d14f1dfae6b98e72a21bd7c0ad81fec906b | |
parent | e00764b159b2a7f06c3e527c525b16fc047841a3 [diff] |
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: Patrick Wildt <patrick@blueri.se> Reviewed-by: AKASHI Takahiro <takahiro.akashi@linaro.org>