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 OpenGGSN project".
The branch, master has been updated
via fc6676c4a0711248388a0df0f3e9e38492894a2c (commit)
via 1af543f44c79696abdd422a3e28458f8deb11375 (commit)
via bd228244da492df768f6c8d2a0032846f1dde4fa (commit)
via a06120de77da41ee86f3704d815ff0b852246ada (commit)
via b589e78f13243ad4372dcf33f611e630b2a953e8 (commit)
via b11ed0f1321f0567e6fc2e6eb467e5276932da82 (commit)
from 9c332104eb13077751114b8b43973e90cf4d746c (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-ggsn/commit/?id=fc6676c4a0711248388a0df0f3e9e3…
commit fc6676c4a0711248388a0df0f3e9e38492894a2c
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Nov 6 03:38:54 2017 +0900
ippool: Correctly compute size of static pool
* we have to use stataddr, not addr (dynamic)
* we have to multiply the length of the address by 8 to get its bit length
* we can simplify the -1 +1 logic (like dynamic)
Change-Id: I174102051bef95f7df34b7d7c480a00ae408be7d
Fixes: Coverity CID#174189
http://cgit.osmocom.org/osmo-ggsn/commit/?id=1af543f44c79696abdd422a3e28458…
commit 1af543f44c79696abdd422a3e28458f8deb11375
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Nov 6 03:32:52 2017 +0900
tun: Don't copy 16byte IPv6 address to 'struct in_addr'
The 'struct tun' curently only has an in_addr (v4-only) member to
store the address of the tun device, so let's not attempt to store
an IPv6 address in it.
FIXME: This entire code needs an overhaul. The assumption that there's
only one address, and only either v6 or v4 is broken to begin with.
Change-Id: If0b626d688841d6e0a3867834f4cb1b70084050e
Fixes: Coverity CID#174278
http://cgit.osmocom.org/osmo-ggsn/commit/?id=bd228244da492df768f6c8d2a00328…
commit bd228244da492df768f6c8d2a0032846f1dde4fa
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Nov 6 03:16:49 2017 +0900
gtp: Explicit OSMO_ASSERT to ensure pdp variable is set
Change-Id: I09e37e25fd118ac0a54ab788304d3f5083463050
Fixes: Coverity CID#174335
http://cgit.osmocom.org/osmo-ggsn/commit/?id=a06120de77da41ee86f3704d815ff0…
commit a06120de77da41ee86f3704d815ff0b852246ada
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Nov 6 03:12:54 2017 +0900
gtp: Fix buffer overflow in imsi_gtp2str()
The string buffer allocated for the IMSI must be sized for a length
twice the number of input bytes (each byte has two nibbles) plus 1
byte for NUL. We missed the "twice" part :/
Change-Id: I1ecaa811815ae522af71feabc5d0c1ea8b4edde9
Fixes: Coverity CID#174336
http://cgit.osmocom.org/osmo-ggsn/commit/?id=b589e78f13243ad4372dcf33f611e6…
commit b589e78f13243ad4372dcf33f611e630b2a953e8
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Nov 6 03:09:35 2017 +0900
sgsnemu: Free strings in error path
In create_pdp_conf(), we have to free() any strings both in the
success and in the error case.
Change-Id: If59cc8d6d151c123f46c1d029091209fd82b3c8e
Fixes: Coverity CID#187636, CID#187633
http://cgit.osmocom.org/osmo-ggsn/commit/?id=b11ed0f1321f0567e6fc2e6eb467e5…
commit b11ed0f1321f0567e6fc2e6eb467e5276932da82
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Nov 6 03:07:26 2017 +0900
sgsnemu: Make sure buffer has space for terminating-NUL
In proc_ipv6_conf_read() we allocatea buffer on the stack but
forgot the terminating NUL byte.
Change-Id: I54126d8bc08c137859f2de4b47ef23fc0714fdd7
Fixes: Coverity CID#178641
-----------------------------------------------------------------------
Summary of changes:
gtp/gtp.c | 8 +++++++-
lib/ippool.c | 2 +-
lib/tun.c | 1 -
sgsnemu/sgsnemu.c | 6 +++---
4 files changed, 11 insertions(+), 6 deletions(-)
hooks/post-receive
--
The OpenGGSN project