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, jerlbeck/wip/openbsc-to-core has been created
at ea7f73254f35e34d8d3f34d38cb6613ae8af4bf0 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=ea7f73254f35e34d8d3f34d38cb6…
commit ea7f73254f35e34d8d3f34d38cb6613ae8af4bf0
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 17 09:53:23 2015 +0100
gb: Add bssgp_msgb_copy function
This function originates from openbsc/src/gprs but is just specific
to BSSGP/Gb on the same level like bssgp_msgb_alloc.
This commit puts the former gprs_msgb_copy function beside
bssgp_msgb_alloc.
Renamed function:
gprs_msgb_copy -> bssgp_msgb_copy
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=06895857eca144d856950db03bd3…
commit 06895857eca144d856950db03bd36cf9c6384365
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 12:52:56 2015 +0100
msgb/test: Add test case for error cases
Include a test for msgb_trim.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=cada9ff241b5891287074b89facf…
commit cada9ff241b5891287074b89facf96c491c25c09
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 10:37:05 2015 +0100
msgb: Assert len >= 0 in msgb_trim
Currently msgb_trim only checks for len > data_len and returns -1
in that case, allowing the caller to fix it somehow. Using a negative
length will always lead to a corrupt msgb, but this is not being
checked.
This commit adds a check for len < 0 and a conditional call to MSGB_ABORT.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=323562f2d8d2447443d0da2a059e…
commit 323562f2d8d2447443d0da2a059e34c18bedebfe
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 17 10:35:03 2015 +0100
msgb/test: Add tests for msgb_resize_area and msgb_copy
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=aac7933c74a7dce699718c65f76f…
commit aac7933c74a7dce699718c65f76f36fa36a7d700
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Nov 27 12:57:56 2015 +0100
msgb/test: Add functions to catch and check exceptions
Currently the msgb error handling cannot be fully tested, since in
many cases osmo_panic will be called. This will in turn call abort().
Using an osmo_panic_handler that just returns will not help, since
many msgb functions rely on MSGB_ABORT to not return at all.
This commit uses an alternative osmo_panic_raise handler that just
calls longjmp to return to the test function.
Since some of this activity is logged to stderr where the strings may
contain variable parts like pointer addresses, stderr checking is
disabled in testsuite.at.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/libosmocore/commit/?id=baf9e6422ee0693e8e1da3877082…
commit baf9e6422ee0693e8e1da3877082e039001ca60b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Mar 18 14:03:16 2014 +0100
msgb/test: Add test for msgb message buffers
This tests several API functions of the msgb by checking the
invariant and by dumping resulting message buffers as hex.
Sponsored-by: On-Waves ehf
Conflicts:
tests/Makefile.am
http://cgit.osmocom.org/libosmocore/commit/?id=5b87706bd8a106e1ba44ac351c1d…
commit 5b87706bd8a106e1ba44ac351c1d24eece736f99
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 16 14:26:47 2015 +0100
gsm: Add APN conversion functions
These functions are currently part of openbsc but also needed by
other projects.
The function have been renamed as follows:
gprs_apn_to_str -> osmo_apn_to_str
gprs_str_to_apn -> osmo_apn_from_str
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
hooks/post-receive
--
An utility library for Open Source Mobile Communications