diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-12-15 11:57:39 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-12-20 15:54:25 +0100 |
commit | 0bac3efc176e49eb22e4e9a0ede55143efc0e64f (patch) | |
tree | 1c217455e3f9cec8c44027400cef0d39c69f98d0 /configure.ac | |
parent | 3c96db29fadbf1fb9519252462661f21da83e907 (diff) |
octphy: l1_oml: check returncode of trx_by_l1h()
The function trx_by_l1h() is used to fetch the pointer to a an
osmo_bts_trx from a list. The ID that is used to reference the
transceiver comes from the incoming message. If the firmware
sends odd identifiers (firmware bugs, damaged packets) the
transceiver can not be found in the list and a nullpointer is
returned, which then leads into a nullpointer derefernece
problem.
Check the returncode, and depending on the situation either
return with -EINVAL or exit osmo-bts immediately.
Change-Id: I04ef3b4896e1322c2a6d29ea86a88994c7748bf7
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions