lchan->s and integer overflow

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/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Tue Mar 12 08:08:21 UTC 2013


Dear Jolly,

from a quick look it appears to be that a very long running connection
could overflow lchan->s to a negative number. Could you either make this
code robust or explain why it is not needed? E.g. if we assume that this
happens once per multiframe the counter will overflow within 1.3 hours?

holger




More information about the OpenBSC mailing list