openbsc.git branch master updated. 0.13.0-896-g496aee7

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Mon Jan 26 10:01:03 UTC 2015


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=496aee7cb809069133fe37f39ccac7607ec6c9b3

commit 496aee7cb809069133fe37f39ccac7607ec6c9b3
Author: Jacob Erlbeck <jerlbeck at 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
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)



More information about the osmocom-commitlog mailing list