libosmocore.git branch master updated. 0.8.0-22-ga84db61

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
Fri Apr 10 06:46:15 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 "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  a84db616737cda5dfc6e8590a29523dc08090f60 (commit)
       via  d154f8bda2e379a8a0e1c3712a9af6a9d97b7b97 (commit)
      from  8d192d7153498498ff6232209c900e67256b8036 (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/libosmocore/commit/?id=a84db616737cda5dfc6e8590a29523dc08090f60

commit a84db616737cda5dfc6e8590a29523dc08090f60
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Thu Apr 9 14:22:22 2015 +0200

    gprs: Add assertion for msg != NULL to bssgp_msgb_alloc (Coverity)
    
    Currently out-of-memory is not handled by bssgp_msgb_alloc, leading
    to SEGV failures if msgb_alloc_headroom returns NULL.
    
    This commit adds an OSMO_ASSERT to catch this case, which improves
    the situation only slightly. But bssgp_msgb_alloc is used in many
    places without checking the return value, so just adding a
    conditional early NULL return would not fix the issue either.
    
    Fixes: Coverity CID 1293377
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=d154f8bda2e379a8a0e1c3712a9af6a9d97b7b97

commit d154f8bda2e379a8a0e1c3712a9af6a9d97b7b97
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Thu Apr 9 14:22:21 2015 +0200

    msgb: Check the return value of msgb_alloc (Coverity)
    
    In some places, the return value of msgb_alloc/msgb_alloc_headroom
    is not checked before it is dereferenced.
    
    This commit adds NULL checks to return with -ENOMEM from the calling
    functions if the alloc function has failed.
    
    Fixes: Coverity CID 1249692, 1293376
    Sponsored-by: On-Waves ehf

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

Summary of changes:
 src/gb/gprs_bssgp_util.c | 4 ++++
 src/gsm/lapdm.c          | 3 +++
 src/sim/reader.c         | 3 +++
 3 files changed, 10 insertions(+)


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list