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 496aee7cb809069133fe37f39ccac7607ec6c9b3 (commit) from 37139e5933337e3e24f4bd83955c3492123e9ed0 (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=496aee7cb809069133fe37f39ccac7607...
commit 496aee7cb809069133fe37f39ccac7607ec6c9b3 Author: Jacob Erlbeck jerlbeck@sysmocom.de Date: Mon Jan 26 10:38:12 2015 +0100
sgsn: Ensure 0-terminated imsi strings (Coverity)
Currently the size argument of strncpy is set to sizeof(mm->imsi) in some places. If the source IMSI string is too long, the terminating NUL byte in the static mm->imsi field gets overwritten.
This patch limits the size to sizeof(mm->imsi)-1, so that the last byte of the buffer (that has been initialized to 0) is not overwritten.
Fixes: Coverity CID 12065751, 12065754, 1206575
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes: openbsc/src/gprs/gprs_gmm.c | 6 +++--- openbsc/src/gprs/sgsn_auth.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
osmocom-commitlog@lists.osmocom.org