commit | f0e974e1e4f2c88ec4c09c7ab0fc9df6b7306d21 | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Thu Jun 15 18:09:10 2023 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Thu Jul 13 11:29:40 2023 +0200 |
tree | 2d540501835d983bb60d6601f5b11f265dde35e5 | |
parent | d0e2a012a3832573a510b7323840d2d6f74dd0a7 [diff] |
imx: cmd_dek: Fix Uninitialized pointer read 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@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>