aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2019-03-29 11:53:53 -0700
committerBen Chan <benchan@chromium.org>2019-03-29 13:34:10 -0700
commit43d454ab7f186c5d7feb7cc9f73119864e419554 (patch)
tree43a2166238acbef71396844a9cd6cadd5a6eefdb /src
parent0944e592522f932ec72f0e88837252c39bd4df98 (diff)
ublox: fix out-of-bounds array accesses
This patch fixes several invalid checks like this: array[i] && i < G_N_ELEMENTS (array) which should instead be: i < G_N_ELEMENTS (array) && array[i] to avoid an out-of-bounds access of the array. Fixes: c1aa658802940327369a6a4cc50d35a4a6a9b04e
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions