commit | 236ef9dce620615a2d0e82253fe3f3470c76e2fd | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Thu Jun 15 18:09:15 2023 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Thu Jul 13 11:29:40 2023 +0200 |
tree | 7076ade966730477d6c3b89a1b90924f518f79f7 | |
parent | aa70b85d969484c981b19d45615378895787a1e5 [diff] |
imx: hab: Fix coverity issue in HAB event decoding Fix below coverity issues caused by get_idx function where "-1" is compared with uint8_t "element" 343336 Unsigned compared with neg 343337 Operands don't affect result Additional, this function returns "-1" will cause overflow to event string array. 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>