aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-06-22 22:15:20 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-06-23 13:50:35 +0200
commitab178903d44129995e69f85822cd1b2cdb445e99 (patch)
treee1685d2f18b37990a27e6583850344edd136db9a /include
parentb65721377339186e0908e4446c33fd1f5fd48481 (diff)
pdch: Fix null MS access gprs_rlcmac_pdch::rcv_control_ack
If bts_ms_by_tlli() at the start of the function fails, ms could be NULL. As a result "ms->nacc" access at the end of the function would crash. Solution: In the function, we get the related expected TBF from pdch_ulc, and we only continue if a TBF is found. Since tbf objects are always expected to have a GprsMs, simply gather it from there. Change-Id: I666ed5d157f42e74956fa49fc9eea85d27e63d44
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions