Change in osmo-bts[master]: measurement.c: fix integer overflow problem

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Nov 2 15:04:24 UTC 2020


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/20979 )

Change subject: measurement.c: fix integer overflow problem
......................................................................


Patch Set 2:

(1 comment)

https://gerrit.osmocom.org/c/osmo-bts/+/20979/2/src/common/measurement.c 
File src/common/measurement.c:

https://gerrit.osmocom.org/c/osmo-bts/+/20979/2/src/common/measurement.c@645 
PS2, Line 645: 				if (num_meas_sub <= i) {
I actually meant to change the second condition of the if iirc, so it shoudl actually be:
if (num_meas_sub < num_meas_sub_expect && num_meas_sub <= i)

Check if it makes sense.



-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/20979
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I381cc637d1c125f279ccf88db114609946fe24fe
Gerrit-Change-Number: 20979
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Mon, 02 Nov 2020 15:04:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201102/291b054a/attachment.htm>


More information about the gerrit-log mailing list