Re: [PATCH 1/1] lib/rsa: correct check after allocation in fdt_add_bignum()

2020-08-28 Thread Tom Rini
On Thu, Aug 20, 2020 at 09:11:17PM +0200, Heinrich Schuchardt wrote: > After allocating to pointer ctx we should check that pointer and not > another pointer already checked above. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom si

Re: [PATCH 1/1] lib/rsa: correct check after allocation in fdt_add_bignum()

2020-08-22 Thread Simon Glass
On Thu, 20 Aug 2020 at 13:11, Heinrich Schuchardt wrote: > > After allocating to pointer ctx we should check that pointer and not > another pointer already checked above. > > Signed-off-by: Heinrich Schuchardt > --- > lib/rsa/rsa-sign.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Re

[PATCH 1/1] lib/rsa: correct check after allocation in fdt_add_bignum()

2020-08-20 Thread Heinrich Schuchardt
After allocating to pointer ctx we should check that pointer and not another pointer already checked above. Signed-off-by: Heinrich Schuchardt --- lib/rsa/rsa-sign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c index 40ca1e1f57..1f0d