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 7590ff3fd6cde4264f6e7961f8d9dcafbb526271 (commit) via 34ce3d93c52a734a7380114254a14ce8bcc77bb1 (commit) from 5121576b0c6c323ae5f92d8d987b8c0899d99db0 (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=7590ff3fd6cde4264f6e7961f8d9dcafb...
commit 7590ff3fd6cde4264f6e7961f8d9dcafbb526271 Author: Neels Hofmeyr nhofmeyr@sysmocom.de Date: Fri May 12 15:37:27 2017 +0200
fix subscriber random extension allocation range
The VTY config allows above 32bit range extensions, but db_subscriber_alloc_exten() was unable to generate extensions outside of 32bit.
Add VTY regression test and fix the problem by using proper 64bit types.
Related: OS#2253 Change-Id: I9afe6a8833004ecd2f3f936b2d5aa4de8e7dbcb0
http://cgit.osmocom.org/openbsc/commit/?id=34ce3d93c52a734a7380114254a14ce8b...
commit 34ce3d93c52a734a7380114254a14ce8bcc77bb1 Author: Neels Hofmeyr nhofmeyr@sysmocom.de Date: Fri May 12 14:56:25 2017 +0200
fix VTY parsing: subscriber-create-on-demand random
Fix parsing of the 'subscriber-create-on-demand random' VTY: atoi() is not enough to include the specified range of 1-9999999999.
Use atoll() instead to ensure a large enough number space also on 32bit systems.
(Note: for me, atoll() truncates at 32 bit when <stdlib.h> is not included.)
Add a VTY regression test for this.
Related: OS#2253 Change-Id: I353e04481ec567adca383d6b51ba8fb865eed73e
-----------------------------------------------------------------------
Summary of changes: openbsc/src/libmsc/db.c | 8 ++++---- openbsc/src/libmsc/vty_interface_layer3.c | 2 +- openbsc/tests/vty_test_runner.py | 22 ++++++++++++++++++++++ 3 files changed, 27 insertions(+), 5 deletions(-)
hooks/post-receive
osmocom-commitlog@lists.osmocom.org