aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy/octphy_vty.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2020-10-28 13:33:55 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2020-11-02 15:46:10 +0100
commit484952a3e5e6453510840b2a15fe8f5fe8a7ea65 (patch)
treec5cd796fb15606eacba828b51ef76e2c86443ddf /src/osmo-bts-octphy/octphy_vty.c
parent90e01e47cbf811a560f128b5637d96207f41a2b8 (diff)
measurement.c: fix integer overflow problem
The variables num_meas_sub_expect - num_meas_sub must not be subtracted without prior checking. Depending on the input (which might be errornous), num_meas_sub might be greater then num_meas_sub_expect. This eventually leads into odd behavior, which can be difficult to debug. Change-Id: I381cc637d1c125f279ccf88db114609946fe24fe Related: OS#4799
Diffstat (limited to 'src/osmo-bts-octphy/octphy_vty.c')
0 files changed, 0 insertions, 0 deletions