]> git.dujemihanovic.xyz Git - u-boot.git/commit
rsa: Fix missing memory leak on error in fdt_add_bignum()
authorSimon Glass <sjg@chromium.org>
Tue, 12 Jun 2018 06:05:00 +0000 (00:05 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jun 2018 11:31:44 +0000 (07:31 -0400)
commit8a682e03d7d18b3d20810ea83fcec69f8d09c909
treec00ae7e81826edb2b0d2c3179db2515540ba02c3
parentdd0ee9ea857c4e4d927ae41791c1626fd57c301d
rsa: Fix missing memory leak on error in fdt_add_bignum()

Thsi function can fail without freeing all its memory. Fix it.

Reported-by: Coverity (CID: 131217)
Signed-off-by: Simon Glass <sjg@chromium.org>
lib/rsa/rsa-sign.c