summaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_bssgp_util.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-04-09 14:22:21 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-10 08:44:15 +0200
commitd154f8bda2e379a8a0e1c3712a9af6a9d97b7b97 (patch)
treeaef161c0c8206235919c758da8583e6d380edcfd /src/gb/gprs_bssgp_util.c
parent8d192d7153498498ff6232209c900e67256b8036 (diff)
msgb: Check the return value of msgb_alloc (Coverity)
In some places, the return value of msgb_alloc/msgb_alloc_headroom is not checked before it is dereferenced. This commit adds NULL checks to return with -ENOMEM from the calling functions if the alloc function has failed. Fixes: Coverity CID 1249692, 1293376 Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gb/gprs_bssgp_util.c')
0 files changed, 0 insertions, 0 deletions