osmo-bts/src/common
Holger Hans Peter Freyther 7996134d2a common: Ignore "si.valid" outside of _MAX_SYSINFO_TYPE
Limit the range from 0 to (_MAX_SYSINFO_TYPE - 1) instead of
0 to 31. This way we will never access the lchan->si.buf[] out
of bounds. This is only a theoretical issue though as the code
filling the lchan->si.buf for the SACCH will not have valid
>= _MAX_SYSINFO_TYPE. Add a small regression test to check we
still schedule all SIs.

Fixes: CID 1040765
2014-05-22 21:17:49 +02:00
..
Makefile.am handover: Set basic values for handover, remember the activation reason 2014-03-10 13:38:07 +01:00
abis.c abis: Separate initialization from connect for Abis 2014-05-15 14:18:26 +02:00
amr.c AMR: change definition of amr_get_initial_mode() return value 2011-09-09 23:29:27 +02:00
bts.c agch: Remove obsolete comment 2014-03-10 14:04:29 +01:00
gsm_data_shared.c re-work original osmo-bts with support for sysmocom femtobts 2011-06-27 11:25:35 +02:00
handover.c handover: Call the right function and avoid recursion 2014-04-19 19:22:22 +02:00
lchan.c lchan: Similar to OpenBSC use a set method to change the state 2012-04-19 09:39:15 +02:00
load_indication.c paging: send CCCH load indications even if paging load below threshold 2012-11-24 22:28:44 +01:00
logging.c handover: Introduce debug area for handover related items 2014-03-10 13:38:07 +01:00
measurement.c measurement: Speculative performance change 2013-12-28 09:37:59 +01:00
oml.c oml: Pass all valid state change requests to the model 2014-04-03 12:46:03 +02:00
paging.c agch/pch: Use PCH for AGCH msgs 2014-03-10 09:22:24 +01:00
pcu_sock.c agch/pcu: Fix crash for AGCH commands queued by the PCU 2014-03-27 09:19:24 +01:00
rsl.c handover: Set basic values for handover, remember the activation reason 2014-03-10 13:38:07 +01:00
support.c re-work original osmo-bts with support for sysmocom femtobts 2011-06-27 11:25:35 +02:00
sysinfo.c common: Ignore "si.valid" outside of _MAX_SYSINFO_TYPE 2014-05-22 21:17:49 +02:00
vty.c misc: Fix the build breakage now that we have btsconfig.h 2014-03-12 16:40:07 +01:00