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, neels/sigtran has been updated
discards d19800327c819f98f389aa5a3dfabe614fab5706 (commit)
via 17032bafefbed3a258e2e20adc8cee5cbb033433 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (d19800327c819f98f389aa5a3dfabe614fab5706)
\
N -- N -- N (17032bafefbed3a258e2e20adc8cee5cbb033433)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
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-iuh/commit/?id=17032bafefbed3a258e2e20adc8cee5…
commit 17032bafefbed3a258e2e20adc8cee5cbb033433
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Jun 20 22:45:03 2017 +0200
WIP: make hnbgw work with M3UA SIGTRAN to an OsmoSTP
Change-Id: I7feb5768731baf54c85ba724d217ac80a27304bb
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/iuh/context_map.h | 3 +--
src/context_map.c | 2 --
src/hnbgw_cn.c | 12 ++----------
src/hnbgw_rua.c | 2 +-
4 files changed, 4 insertions(+), 15 deletions(-)
hooks/post-receive
--
Osmocom code for Iuh interface
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, neels/aoip has been updated
discards 6b4be38fc653418549ad0402dcf84a35355f123b (commit)
discards d23ef39513db9eb8e156fbfc8e8506aac7a17546 (commit)
discards bbd32cddf8986f603507829a9ea430a3bef43bcd (commit)
discards 3c8f08c78784ed9c84f6327f56c2debac4240943 (commit)
discards 804e2d5d2c8cdc515355cf6596dd94f6214754ed (commit)
discards 8185a941f8d47647de3941e1a9e2b445ca92c2ce (commit)
via 5600a21a6502230ef2e08ebb9b3ba9b7fc869397 (commit)
via 656b5789612ea59073c732090dad9611f5561b79 (commit)
via bc0ab90fc9c2a105089d83fcdb5ba89637dbd22f (commit)
via aaffff66b2b20de29169b632420079bc315f2826 (commit)
via 02fdbb40031f41510cffe4dbc1d9671fea5783af (commit)
via 4e2e1862bcd7bfbc57a415fdcf79608301bcebe8 (commit)
via 0008777c0305426e91230a31160a1aa26563abfa (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (6b4be38fc653418549ad0402dcf84a35355f123b)
\
N -- N -- N (5600a21a6502230ef2e08ebb9b3ba9b7fc869397)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
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=5600a21a6502230ef2e08ebb9b3ba9b7…
commit 5600a21a6502230ef2e08ebb9b3ba9b7fc869397
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Jun 21 15:57:57 2017 +0200
msc: re-enable iu_init()
Change-Id: If12ca46c834466307bee6465b777d63d5c922405
http://cgit.osmocom.org/openbsc/commit/?id=656b5789612ea59073c732090dad9611…
commit 656b5789612ea59073c732090dad9611f5561b79
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Jun 21 15:57:42 2017 +0200
a_init: use name arg for sccp client and user bind
Change-Id: I10e899777e21bf1dbfba1e7e692d7017593e5f38
http://cgit.osmocom.org/openbsc/commit/?id=bc0ab90fc9c2a105089d83fcdb5ba896…
commit bc0ab90fc9c2a105089d83fcdb5ba89637dbd22f
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Mon Jun 19 18:22:21 2017 +0200
a_iface: fix typo in function name
http://cgit.osmocom.org/openbsc/commit/?id=aaffff66b2b20de29169b632420079bc…
commit aaffff66b2b20de29169b632420079bc315f2826
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Mon Jun 19 18:19:27 2017 +0200
a_iface: Check if channel type and speech codec list are successful
Currently we do not check for errors during the generation of
channel type and speech codec list. This might blow an assertion
in gsm0808_create_ass if the generated data is invalid. So
we need to check beforehand.
http://cgit.osmocom.org/openbsc/commit/?id=02fdbb40031f41510cffe4dbc1d9671f…
commit 02fdbb40031f41510cffe4dbc1d9671fea5783af
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Wed Jun 14 12:00:30 2017 +0200
rsl: fix stray line break in logtext
The log output from the rsl layer injects line breaks at wrong
places in the log. This messes up the logtext. This commit fixes
the problem.
http://cgit.osmocom.org/openbsc/commit/?id=4e2e1862bcd7bfbc57a415fdcf796083…
commit 4e2e1862bcd7bfbc57a415fdcf79608301bcebe8
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Wed Jun 14 11:11:27 2017 +0200
mgcp: fix line-break problem in log
When the mgcp_client prints MGCP strings in the log text, it does
not remove the line break before printing. This will mess up
the log text. This patch removes the line break characters before
printing properly.
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/libmsc/a_iface.c | 2 +-
openbsc/src/osmo-bsc/osmo_bsc_audio.c | 2 +-
openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
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 c977984ecd856f8f35fe3b75dff3298aaf7e2067 (commit)
via 9a391e2edf4df34224a6cb24fdb5d8d8f1c4ae3a (commit)
from 95efc6993f6b7d39293c4e22d44d90f2aa3708ac (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=c977984ecd856f8f35fe3b75dff3…
commit c977984ecd856f8f35fe3b75dff3298aaf7e2067
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Jun 23 02:34:26 2017 +0200
fix map entry for gsm0808_speech_codec_from_chan_type
Recent commit 884ba0f2bcaf385cabee0b4228a2598d61fa406b adds function
gsm0808_chan_type_to_speech_codec() but adds a mismatching name in
libosmogsm.map. openbsc.git's aoip branch can't build with this.
This must have been an on-the-fly rename that wasn't properly tested. Always
test your patches!
Change-Id: I68feb14f7bcb2f62b89f9b2d8c085d6824b493bc
http://cgit.osmocom.org/libosmocore/commit/?id=9a391e2edf4df34224a6cb24fdb5…
commit 9a391e2edf4df34224a6cb24fdb5d8d8f1c4ae3a
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Jun 23 02:34:08 2017 +0200
fix map entry and .h declaration for gsm0808_chan_type_to_speech_codec()
Recent commit 3149b0d076477303a38df735fe579b1b06ee17b2 adds function
gsm0808_chan_type_to_speech_codec() but adds a completely mismatching name in
libosmogsm.map, as well as a definition with a typo in the name.
Fix the entry in libosmogsm.map.
Add the missing 'c' in gsm0808_utils.h
Change-Id: I5a621fa5ef6b632eabbe224f3dd383eacaffb695
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/gsm/gsm0808_utils.h | 2 +-
src/gsm/libosmogsm.map | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications
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, aoip has been updated
via 0008777c0305426e91230a31160a1aa26563abfa (commit)
from 51d2a33542064e8605302a22214f57f7886c703e (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=0008777c0305426e91230a31160a1aa2…
commit 0008777c0305426e91230a31160a1aa26563abfa
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Jun 23 03:26:59 2017 +0200
apply function renames in merged libosmocore patches
Change-Id: Ic659d6d79a6284732e1837f8b0947e8a128ddd87
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/libmsc/a_iface.c | 2 +-
openbsc/src/osmo-bsc/osmo_bsc_audio.c | 2 +-
openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
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 "SCCP Library".
The branch, master has been updated
via a70b4599f63b50c4d654eb9e1b1a099a7c8cdc36 (commit)
from 42488383275a01e288961f6aebf74fb2eb13817d (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/libosmo-sccp/commit/?id=a70b4599f63b50c4d654eb9e1b1…
commit a70b4599f63b50c4d654eb9e1b1a099a7c8cdc36
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Jun 23 03:18:02 2017 +0200
fix sanitize make check: xua_test: initialize gt_out.
The sanitize build fails because gt_out is not initialized to zero, but is
later mem-compared to a zero-initialized struct.
Zero-initialize gt_out.
Also print in the test output both byte dumps. It helped to figure out the test
failure and might as well stay.
Change-Id: Ice8ee9c2a6bde4924f3ae6d95aa9268ebef9f070
-----------------------------------------------------------------------
Summary of changes:
tests/xua/xua_test.c | 4 +++-
tests/xua/xua_test.ok | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
hooks/post-receive
--
SCCP Library
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 "SCCP Library".
The branch, neels/aoip has been updated
discards abae436644f1d5c9b51fb1a204ebb744abb75d99 (commit)
via 22e2d18a156fbfce121964f66d5348db29674c20 (commit)
via bcb64109c227e340769f11c958b1bb25330e89ce (commit)
via 76e62258dde36f3df183b81421fd638fe796b468 (commit)
via 1fb2744f5660559929c7c21c7423b08d6aedfd28 (commit)
via 6ec0350fcc007c6e73e43bb000269aa222e4e3b7 (commit)
via 459b9974610d7a1a5e93d04300c161942fad63e9 (commit)
via 42488383275a01e288961f6aebf74fb2eb13817d (commit)
via fa3215618b88264a03477511313311de4e838d99 (commit)
via 483bf42f4501004a5fab90c513121b05139ee494 (commit)
via fc252ca38427bf77e55fd272a954dfe24f03a719 (commit)
via e32bff4ef42f80d69bf7e7f88f2843b4b9e66907 (commit)
via 19c5c07525ef756f39be2f9d4777c2483e9e32fa (commit)
via 2abc1d5c7f2f10aa8b79b60f5d4ff9796a43bdd1 (commit)
via ad7fbd9b4dc80d1b7ceac72e5b349fdd7750d8fa (commit)
via f04e2f31ea2fefc734c19805bb93629c73f7f2a4 (commit)
via b1510a11220766c77910f3ead3628e969a5ffc5f (commit)
via 34cb3c16a597e5793cfb59b1772967e0a5e89489 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (abae436644f1d5c9b51fb1a204ebb744abb75d99)
\
N -- N -- N (22e2d18a156fbfce121964f66d5348db29674c20)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
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/libosmo-sccp/commit/?id=22e2d18a156fbfce121964f66d5…
commit 22e2d18a156fbfce121964f66d5348db29674c20
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jun 22 21:06:49 2017 +0200
osmo_sccp_user_sap_down(): store called/calling addr in new conn
Change-Id: I7a52053c2377e47d558e41db59d0fb736a11ffe8
http://cgit.osmocom.org/libosmo-sccp/commit/?id=bcb64109c227e340769f11c958b…
commit bcb64109c227e340769f11c958b1bb25330e89ce
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jun 22 21:04:56 2017 +0200
sccp_scoc fsm: abort with error log on null conn
Change-Id: I091e5b6e64b24ce94b6495f3006f44c17d513ee7
http://cgit.osmocom.org/libosmo-sccp/commit/?id=76e62258dde36f3df183b81421f…
commit 76e62258dde36f3df183b81421fd638fe796b468
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed May 17 23:58:04 2017 +0200
Revert "SCOC: When sending a CORE/CR, SUA SRC_ADDR == CallingPartyAddress"
According to pmaier, this commit breaks AoIP in openbsc.git. Until this
question is resolved, I will revert this on my branch to be able to build
binaries for the osmo-gsm-tester.
This reverts commit 5527df78adc08b76df07c4b682263b5bdd6181d4.
http://cgit.osmocom.org/libosmo-sccp/commit/?id=1fb2744f5660559929c7c21c742…
commit 1fb2744f5660559929c7c21c7423b08d6aedfd28
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jun 22 21:10:53 2017 +0200
sccp_user.c: add missing error logging
Change-Id: I98e400e297f8fa83037a8e74a936e4ecc137099c
http://cgit.osmocom.org/libosmo-sccp/commit/?id=6ec0350fcc007c6e73e43bb0002…
commit 6ec0350fcc007c6e73e43bb000269aa222e4e3b7
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jun 22 21:08:12 2017 +0200
gen_mtp_transfer_req_xua(): add addr to error log for missing DPC
Change-Id: Icfd45bcbecc440b94893db2aca537a162f210abd
http://cgit.osmocom.org/libosmo-sccp/commit/?id=459b9974610d7a1a5e93d04300c…
commit 459b9974610d7a1a5e93d04300c161942fad63e9
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jun 22 21:03:14 2017 +0200
add various debug logging to help figure out complex SCCP routing
Change-Id: Ia3243606d6cad7721f7da7f6caba2caa90ae2bbd
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 4 +-
examples/sccp_test_vty.c | 2 +-
include/osmocom/sigtran/osmo_ss7.h | 1 +
include/osmocom/sigtran/sccp_sap.h | 6 +
include/sccp/sccp_types.h | 14 +-
src/m3ua.c | 5 +
src/osmo_ss7.c | 13 +-
src/osmo_ss7_hmrt.c | 12 +
src/osmo_ss7_vty.c | 578 +++++++++++++++++++++++++++++++++++++
src/sccp_scoc.c | 18 ++
src/sccp_scrc.c | 10 +-
src/sccp_user.c | 12 +-
src/xua_internal.h | 5 +
stp/stp_main.c | 1 +
tests/xua/xua_test.c | 2 +-
15 files changed, 666 insertions(+), 17 deletions(-)
hooks/post-receive
--
SCCP Library
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, neels/sigtran has been updated
discards 7b8e9d13167155fa584761750e802ef02738dc4a (commit)
discards ce3c2e8067ae8e6b5e37cb81e57ebc773924b774 (commit)
via d19800327c819f98f389aa5a3dfabe614fab5706 (commit)
via 9789268e36076aedb1a8e21bfd52697e23174453 (commit)
via 89336d2a682f512b23af01ab6c72927a370debc2 (commit)
via 55fc0bed0adc1d75d8506f9ebf45ab3c4ef2b2c7 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (7b8e9d13167155fa584761750e802ef02738dc4a)
\
N -- N -- N (d19800327c819f98f389aa5a3dfabe614fab5706)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
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-iuh/commit/?id=d19800327c819f98f389aa5a3dfabe6…
commit d19800327c819f98f389aa5a3dfabe614fab5706
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Jun 20 22:45:03 2017 +0200
WIP: make hnbgw work with M3UA SIGTRAN to an OsmoSTP
Change-Id: I7feb5768731baf54c85ba724d217ac80a27304bb
http://cgit.osmocom.org/osmo-iuh/commit/?id=9789268e36076aedb1a8e21bfd52697…
commit 9789268e36076aedb1a8e21bfd52697e23174453
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Tue Jun 20 22:49:34 2017 +0200
sccp_sap_up(): guard against NULL pointers
Change-Id: Icd64b92b00461cace5c476c8bcf69eec3fdbbdd3
http://cgit.osmocom.org/osmo-iuh/commit/?id=89336d2a682f512b23af01ab6c72927…
commit 89336d2a682f512b23af01ab6c72927a370debc2
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon May 8 16:50:24 2017 +0200
fix make check: exclude SUA dependencies
Remove DSUA from test_common.c
Don't build dummy_cn which is still implemented on SUA. Mark todo to maybe
re-include it based on M3UA later.
Change-Id: I37f3da97ba3fa0911bde6e20fceace56db520352
http://cgit.osmocom.org/osmo-iuh/commit/?id=55fc0bed0adc1d75d8506f9ebf45ab3…
commit 55fc0bed0adc1d75d8506f9ebf45ab3c4ef2b2c7
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon May 8 16:48:38 2017 +0200
fix use of osmo_sccp_simple_client(): add local ip
Since libosmo-sccp 9ecb11bd6d3a776174f8f2b119cf60b91ed38698 a local_ip arg has
been added to osmo_sccp_simple_client(). Pass some local address (.5 to stay
out of BSC and MSC's way), mark as fixme to make configurable.
Change-Id: I476e8929afd70388755a1730cd361e96bd8dc827
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/iuh/context_map.h | 6 +-
include/osmocom/iuh/hnbgw.h | 19 ++---
include/osmocom/iuh/hnbgw_cn.h | 3 +-
src/context_map.c | 50 +++++++------
src/hnbgw.c | 26 ++++---
src/hnbgw_cn.c | 149 +++++++++++++++++++++++++-------------
src/hnbgw_rua.c | 125 +++++++++++++++++---------------
src/ranap_common.c | 2 +-
8 files changed, 222 insertions(+), 158 deletions(-)
hooks/post-receive
--
Osmocom code for Iuh interface
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 "SCCP Library".
The branch, master has been updated
via 42488383275a01e288961f6aebf74fb2eb13817d (commit)
from fa3215618b88264a03477511313311de4e838d99 (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/libosmo-sccp/commit/?id=42488383275a01e288961f6aebf…
commit 42488383275a01e288961f6aebf74fb2eb13817d
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Thu Jun 22 11:00:23 2017 +0200
ss7: Fix compilation error (warning)
In osmo_ss7_route_create() as is only initalized if lset can not
be initalized. If lset can be initalized, as will not be used so
everything is fine. However, the compiler complains that as may
not be initalized. Initalizing as to NULL solves the problem.
Change-Id: Ibcb3ebf9aaa7717cb553242517abce1499bc9c2a
-----------------------------------------------------------------------
Summary of changes:
src/osmo_ss7.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
SCCP Library
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 452a6bb347aa907d5593f7ca7ab901b4f9a90321 (commit)
via 17778bda23cacfce3a9ad176dcb2d084893c5e66 (commit)
from 00f4ef7262519ccb48213c9b844e1e015b1c3046 (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=452a6bb347aa907d5593f7ca7ab9…
commit 452a6bb347aa907d5593f7ca7ab901b4f9a90321
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Fri Jun 23 00:29:34 2017 +0200
comments: gsm0808_utils: mention various 3GPP specs
Tweaked-by: nhofmeyr
Change-Id: I990dfe9eeaf96f377484b828143935240a937226
http://cgit.osmocom.org/libosmocore/commit/?id=17778bda23cacfce3a9ad176dcb2…
commit 17778bda23cacfce3a9ad176dcb2d084893c5e66
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Fri Apr 28 11:05:44 2017 +0200
gsm0808: fix length check of the element decoder functions
The length check of the decoder functions is not entirely
correct. The check also checks for values below zero,
which does not make sense, since the length is encoded
as uint8_t.
For some elements a minimum length is known (in most cases
this is 1), so checking for zero is sufficient but in some
cases (e.g. channel type) the spec mentions a minimum and
maximum length. This is now also reflected in the code.
Tweaked-by: nhofmeyr
Change-Id: I78bc887f68d1963d28c6fcd631ac20ccd893d6d6
-----------------------------------------------------------------------
Summary of changes:
src/gsm/gsm0808_utils.c | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications