openbsc.git branch master updated. 0.15.0-636-g881064e9b

gitosis at osmocom.org gitosis at osmocom.org
Mon Jan 23 12:32:16 UTC 2017


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  881064e9b81de4aee7a9cdd52184860260f8723c (commit)
      from  47e178190744e65079a821f40148eebcaa92bf76 (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=881064e9b81de4aee7a9cdd52184860260f8723c

commit 881064e9b81de4aee7a9cdd52184860260f8723c
Author: Max <msuraev at sysmocom.de>
Date:   Wed Dec 14 14:51:40 2016 +0100

    Prevent segfault in range encoding
    
    * Explicitly check when ARFCN array split is impossible and return
      gracefully instead of using negative index.
    * Separate range encoding into generic function and use it for all
      SI-related things.
    * Propagate the error into that function and to its callers.
    * Add separate test-case for the segfault previously triggered by this bug.
    
    Change-Id: I3e049ab2d7c1c4d6c791b148f37e10636a8e43e0
    Related: RT#7379

-----------------------------------------------------------------------

Summary of changes:
 openbsc/include/openbsc/system_information.h |  4 ++
 openbsc/src/libbsc/arfcn_range_encode.c      |  4 ++
 openbsc/src/libbsc/rest_octets.c             | 21 ++++++---
 openbsc/src/libbsc/system_information.c      | 66 +++++++++++++++-------------
 openbsc/tests/gsm0408/gsm0408_test.c         | 16 +++++++
 openbsc/tests/gsm0408/gsm0408_test.ok        |  4 ++
 6 files changed, 78 insertions(+), 37 deletions(-)


hooks/post-receive
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)



More information about the osmocom-commitlog mailing list