[U-Boot] [PATCH] rsa: check that pointer checksum isn't NULL before using it

Simon Glass sjg at chromium.org
Thu Mar 21 05:22:16 UTC 2019


On Tue, 19 Mar 2019 at 17:55, Philippe Reynes
<philippe.reynes at softathome.com> wrote:
>
> The pointer checksum were used before checking that it
> isn't NULL. We move the code that use it after the check.
>
> Reported-by: Coverity (CID: 185835)
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
>  lib/rsa/rsa-verify.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list