[PATCH] lib: rsa: rsa-verify: also check that padding is not NULL
Simon Glass
sjg at chromium.org
Sun Oct 24 21:53:34 CEST 2021
On Fri, 15 Oct 2021 at 03:28, Philippe Reynes
<philippe.reynes at softathome.com> wrote:
>
> This commit adds a check on the padding in the function rsa_verify_key
> to avoid using a NULL pointer.
>
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
> lib/rsa/rsa-verify.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list