summaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty/vty.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-04-07 17:52:43 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-07 20:09:48 +0200
commitc641591ae9298894178dae78c37e5f96687be576 (patch)
treeada9d4c1d1f82aeb0dc158094a3b6e63f329fa43 /include/osmocom/vty/vty.h
parenta11994ddff1edbdb85ee9dc1ffd36f9b9834edf3 (diff)
bssgp: Always expect dup != NULL in bssgp_tx_dl_ud (Coverity)
Currently the implementation of bssgp_tx_dl_ud conditionally adds some optional IE if dup != NULL. Later on is dereferences dup to access qos_profile and fc, but this without checking dup in advance. This may lead to an segmentation violation fault. This commit changes the value range of the function to only accept dup != NULL. An assertion will fail otherwise. All other explicit checks for non-NULL are removed. Fixes: Coverity CID 1040673 Sponsored-by: On-Waves ehf
Diffstat (limited to 'include/osmocom/vty/vty.h')
0 files changed, 0 insertions, 0 deletions