Skip to content
Commit 820f0ae1 authored by Luca Burelli's avatar Luca Burelli Committed by Benjamin Cabé
Browse files

llext: fix minor Coverity issue #434586 (again)



The check combination of "is zero" and then "less than zero" leaves open
the theoretical possibility of a positive return value, which would
continue on with an uinitialized 'sym'.

Checking for "not zero" has the same effect and covers all situations.

Commit 56fd8544 did the same thing for 'rela' a few lines above, but
missed this instance. No other places in the llext code have this issue.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent ec7d2729
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment