commit | 06e298d8c40165c6a999ca6346191bb7c5769921 | [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 | 16426c89088b71a3523779f8215cd9f5b0ef6412 [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>