This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via 0bac3efc176e49eb22e4e9a0ede55143efc0e64f (commit)
from 3c96db29fadbf1fb9519252462661f21da83e907 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-bts/commit/?id=0bac3efc176e49eb22e4e9a0ede5514…
commit 0bac3efc176e49eb22e4e9a0ede55143efc0e64f
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Fri Dec 15 11:57:39 2017 +0100
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
-----------------------------------------------------------------------
Summary of changes:
src/osmo-bts-octphy/l1_oml.c | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)