osmo-iuh.git branch master updated. 0.2.0-14-g54df0a1

gitosis at osmocom.org gitosis at osmocom.org
Wed Nov 22 16:09:52 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 "Osmocom code for Iuh interface".

The branch, master has been updated
       via  54df0a1095f13b97638d39c81b5e165c44f3d949 (commit)
       via  d9cb19a8fbb3b6f7b29617fa78fd8bf7492a6667 (commit)
      from  da86fe5ae31e2a6da6c5f6a2af853c3b8ec603c5 (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 -----------------------------------------------------------------

commit 54df0a1095f13b97638d39c81b5e165c44f3d949
Author: Neels Hofmeyr <neels at hofmeyr.de>
Date:   Sat Nov 18 21:00:41 2017 +0100

    ranap_msg_factory: sanitize: memcpy instead of unaligned int copy
    The sanitize build complains about writing to a uint32_t that is not 4-byte
    aligned. Instead, write the uint32_t by memcpy.
    For that, move the common ntohl() to the top and store in a local uint32_t,
    memcpy() from that in both code paths.
    Change-Id: Iacdd15421f824dd009448a96355b533dff28258b


commit d9cb19a8fbb3b6f7b29617fa78fd8bf7492a6667
Author: Neels Hofmeyr <neels at hofmeyr.de>
Date:   Sat Nov 18 18:47:55 2017 +0100

    tests: sanitize: fix mem leaks, clean after tests
    Fix various mem leaks in the testing code.
    Add test_common_cleanup() in test_common.c, to free talloc contexts; call in
    test-{helpers,hnbap,ranap}.c. Upon talloc ctx cleanup, ensure that they are
    actually empty, in order to catch newly introduced mem leaks.
    If non-empty, print talloc context reports.
    Change-Id: Ic66c005f2a264774e18bb54e58b87bef5944511c


Summary of changes:
 src/ranap_msg_factory.c  |  7 ++++---
 src/tests/test-helpers.c |  4 ++++
 src/tests/test-hnbap.c   |  4 ++++
 src/tests/test-ranap.c   |  2 ++
 src/tests/test_common.c  | 23 ++++++++++++++++++++++-
 src/tests/test_common.h  |  1 +
 6 files changed, 37 insertions(+), 4 deletions(-)

Osmocom code for Iuh interface

More information about the osmocom-commitlog mailing list