[PATCH V2 13/30] imx: cmd_dek: Fix Uninitialized pointer read

sbabic at denx.de sbabic at denx.de
Tue Jul 11 21:42:26 CEST 2023


> From: Ye Li <ye.li at nxp.com>
> Fix Coverity (CID 21143558).
> When tee_shm_register returns failure, the shm_input pointer is
> invalid, should not free it. Same issue also exists on registering
> shm_output.
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> Signed-off-by: Ye Li <ye.li at nxp.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list