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 "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 143a274051338c1ae04981d5493818ccbb28841c (commit)
from 487436138e3dca6a99862abc779ac5230c8f826b (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/openbsc/commit/?id=143a274051338c1ae04981d5493818cc…
commit 143a274051338c1ae04981d5493818ccbb28841c
Author: Philipp <pmaier(a)sysmocom.de>
Date: Fri Nov 25 15:23:50 2016 +0100
sndcp: fixup for coverity scan defect CID 149097
Coverity scan detects a Null pointer deref (FORWARD_NULL) in
gprs_sndcp_comp.c: 67 in gprs_sndcp_comp_create().
The reason for this is that gprs_sndcp_dcomp_init() and also
gprs_sndcp_pcomp_init() rely on the comp_entity->algo algo
flag. If the program logic is correct a null pointer deref
should never occur.
This commit adds OSMO_ASSERT() statements to ensure a null
pointer deref is catched if if the ...comp_init() functions
are used with incorrect parameters.
Change-Id: I7748f06d1739a697edad5100a031e5aa1ef11ed1
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/gprs/gprs_sndcp_dcomp.c | 1 +
openbsc/src/gprs/gprs_sndcp_pcomp.c | 1 +
2 files changed, 2 insertions(+)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)