osmo-hlr.git branch master updated. 0.0.1-99-gb6837e3

gitosis at osmocom.org gitosis at osmocom.org
Mon Oct 16 13:20:41 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 "UNNAMED PROJECT".

The branch, master has been updated
       via  b6837e36a34a1e9e7fafea822516e61285e3c09c (commit)
      from  2e86ab3a8704462c55245370ebdce9f6b134792d (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-hlr/commit/?id=b6837e36a34a1e9e7fafea822516e61285e3c09c

commit b6837e36a34a1e9e7fafea822516e61285e3c09c
Author: Neels Hofmeyr <neels at hofmeyr.de>
Date:   Tue Oct 10 23:20:26 2017 +0200

    fix db_subscr_get_by_*(): clear output data; test in db_test.c
    
    db_subscr_get_by_*() failed to clear the out-param struct, meaning that data
    could remain in a struct even though it is not present in the database. Always
    zero out the struct before writing to it.
    
    Adjust the db_test to catch this error by writing "-invalid-data-" to each
    struct before running db get functions.
    
    Change-Id: I038bd437452c87841d709fcdd5ac30ab1356b2db

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

Summary of changes:
 src/db_hlr.c       |  2 ++
 tests/db/db_test.c | 19 ++++++++++++++++---
 2 files changed, 18 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
UNNAMED PROJECT


More information about the osmocom-commitlog mailing list