diff options
| author | Ye Li <[email protected]> | 2023-06-15 18:09:15 +0800 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2023-07-13 11:29:40 +0200 |
| commit | b645f95da97b1d7e11af34c2c3f7a01843aac94c (patch) | |
| tree | 7076ade966730477d6c3b89a1b90924f518f79f7 /scripts/basic | |
| 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 <[email protected]>
Signed-off-by: Ye Li <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
