]> git.baikalelectronics.ru Git - uboot.git/commit
board: fsl_validate: Fix Double free Issue
authorKshitiz Varshney <kshitiz.varshney@nxp.com>
Sun, 19 Sep 2021 15:09:53 +0000 (17:09 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 09:13:24 +0000 (14:43 +0530)
commitefa2f3e1cb8d533e3ac3cd6b34cae637f8aef804
tree6a19bff40c85cdadf674ef2343a387b43a51ac09
parent1499235dc044beade2473c884d95d52d17102cc7
board: fsl_validate: Fix Double free Issue

Remove Double free issue from calc_img_key_hash() and
calc_esbchdr_esbc_hash() function.
Verified the secure boot changes using lx2162aqds board.

Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/common/fsl_validate.c
drivers/crypto/fsl/fsl_hash.c