osmo-bsc/src
Neels Hofmeyr 719322693c fix segfault upon release paging on BSSMAP Reset: init llist
Initialize the llist head gsm_bts->paging.pending_requests at the time gsm_bts
is allocated, not only at paging_init_if_needed().

The gsm_bts->paging sub-struct is invalid as long as gsm_bts->paging.bts
doesn't point back to bts. Hence the recently added iteration of
gsm_bts->paging.pending_requests should have checked whether bts is NULL. The
llist_head pending_requests is not initialized unless paging_init_if_needed()
has been called (and paging.bts is hence set). However, this fix is a safer way
to prevent errors like this in general.

The segfault was introduced by d382bf63e2 /
If3f53d3bb66ad2dc02db823cb813590c6b59c700

Related: OS#2747
Change-Id: Idfafac4e2c0e0a241a62aecbbdc22be71febf840
2017-12-13 19:13:44 +01:00
..
ipaccess move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
libbsc fix segfault upon release paging on BSSMAP Reset: init llist 2017-12-13 19:13:44 +01:00
libcommon fix segfault upon release paging on BSSMAP Reset: init llist 2017-12-13 19:13:44 +01:00
libcommon-cs Remove 'msc' counter group from BSC 2017-12-09 23:14:50 +01:00
libfilter bsc filter: don't ignore imsi-allow on "global" filter level 2017-11-23 13:21:12 +00:00
libtrau move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
osmo-bsc paging: Stop all paging if MSC sends us BSSMAP RESET 2017-12-11 16:21:38 +01:00
osmo-bsc_nat Move many counters from BSC-global to per-BTS granularity 2017-12-09 23:07:38 +01:00
utils move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
Makefile.am OML: expand status reporting checks 2017-12-10 14:18:41 +00:00