diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-04-07 17:52:44 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-07 20:10:09 +0200 |
commit | b535e391b0f1d030373159ddbf54483d7fa54763 (patch) | |
tree | 8db65c8944d331c8bc35723c22d32dbf171292f9 /tests/lapd | |
parent | c641591ae9298894178dae78c37e5f96687be576 (diff) |
bssgp: Ensure non-NULL bctx before calling bssgp_rx_ptp (Coverity)
Currently bssgp_rx_ptp might be called with bctx being NULL, when the
NS BVCI is neither BVCI_SIGNALLING nor BVCI_PTM, but the message is
a BVC_RESET or it contains an BVCI IE != BVCI_SIGNALLING where the
BVCI is not known.
This patch ensures that bssgp_rx_ptp will only be called with a
non-NULL bctx. A log message will be issued, if the bctx is NULL when
this was not expected.
Fixes: Coverity CID 1040674
Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/lapd')
0 files changed, 0 insertions, 0 deletions