diff options
author | Ye Li | 2023-06-15 18:09:15 +0800 |
---|---|---|
committer | Stefano Babic | 2023-07-13 11:29:40 +0200 |
commit | b645f95da97b1d7e11af34c2c3f7a01843aac94c (patch) | |
tree | 7076ade966730477d6c3b89a1b90924f518f79f7 /board/zyxel | |
parent | 1c3f5df2597b80d4dac635152fc5dd1a9c4150b9 (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>
Diffstat (limited to 'board/zyxel')
0 files changed, 0 insertions, 0 deletions