diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-06-22 22:15:20 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-06-23 13:50:35 +0200 |
commit | ab178903d44129995e69f85822cd1b2cdb445e99 (patch) | |
tree | e1685d2f18b37990a27e6583850344edd136db9a /include | |
parent | b65721377339186e0908e4446c33fd1f5fd48481 (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