osmo-iuh/src
Neels Hofmeyr 236d1d4865 fix decoding of incoming X.213 NSAP addr
Fix ranap_transp_layer_addr_decode() to test == 7 instead of > 7: If a femto
cell sends its Transport Layer Address as X.213 NSAP IPv4, we receive 3 header
bytes and four IP-address bytes, so the length is exactly 7.

This function is very vague on numerous other decoding details, but this patch
only fixes the vital length check that makes 3G usable with X.213 NSAP.

Related: OS#3420
Change-Id: I2cd1b2d8e1c1ae707cfc0dc7961a2b31ecdf29e0
2018-08-20 17:31:58 +02:00
..
hnbap build: cosmetic: hnbap: undup asn1 src path 2016-09-09 06:43:32 +00:00
ranap build: use $top_srcdir instead of ../ 2016-02-29 14:28:00 +01:00
rua build: use $top_srcdir instead of ../ 2016-02-29 14:28:00 +01:00
tests hnb-test: log accurate three-digit MNC with leading zeros 2018-02-28 19:26:07 +01:00
.gitignore build: fix ranap gen, use same for gen hnbap and rua gen 2016-09-09 06:43:31 +00:00
Makefile.am Bump version: 0.2.0.57-cf5f-dirty → 0.3.0 2018-05-03 18:29:14 +02:00
context_map.c cosmetic: context_map_tmr_cb(): fix comment 2017-12-25 00:46:12 +01:00
hnbap_common.c build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00
hnbgw.c hnbgw: remove close_cb() to fix a crash when releasing a hnbgw 2018-07-24 19:08:19 +02:00
hnbgw_cn.c hnbgw_cn: rx ranap: set rc in all cases 2018-01-15 23:28:08 +01:00
hnbgw_hnbap.c hnbgw: remove close_cb() to fix a crash when releasing a hnbgw 2018-07-24 19:08:19 +02:00
hnbgw_ranap.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
hnbgw_rua.c hnbgw_rua: fix dereference of unset pointer 2018-01-15 23:28:08 +01:00
hnbgw_vty.c hnbgw_vty.c: Fix "-Werror=format-security" failure in vty_out() 2017-12-26 21:41:16 +01:00
iu_client.c cosmetic: use osmo_plmn_id instead of mcc,mnc 2018-03-21 15:55:18 +01:00
iu_client_vty.c iu_client: derive local SCCP addr from sccp instance 2017-08-13 22:46:04 +00:00
iu_helpers.c fix decoding of incoming X.213 NSAP addr 2018-08-20 17:31:58 +02:00
ranap_common.c fix 3 compiler warnings in ranap_common.c 2017-12-20 15:55:14 +00:00
ranap_common_cn.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
ranap_msg_factory.c ranap_msg_factory: remove unusued variable 2017-12-20 16:03:19 +00:00
regen-common-includes.sh ranap: Add more manual definitions to RANAP-PDUs 2015-09-10 21:18:16 +02:00
rua_common.c build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00
rua_msg_factory.c build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00