aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-29 09:35:54 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-29 10:31:07 +0100
commita7313dd886306bed59df5aedb029a5c671f199a7 (patch)
tree8672107b51ca10e337a78c86631a97f5db2ff62a /openbsc/src
parentfea1df858767a15ca766f360b95ea9ecc78b6547 (diff)
osmo_bsc_filter.c: add fixme note
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_filter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_filter.c b/openbsc/src/osmo-bsc/osmo_bsc_filter.c
index e9757337d..f58034702 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_filter.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_filter.c
@@ -264,6 +264,9 @@ static int bsc_patch_mm_info(struct gsm_subscriber_connection *conn,
parse_res = tlv_parse(&tp, &gsm48_mm_att_tlvdef, data, length, 0, 0);
if (parse_res <= 0 && parse_res != -3)
+ /* FIXME: -3 means unknown IE error, so this accepts messages
+ * with unknown IEs. But parsing has aborted with the unknown
+ * IE and the message is broken or parsed incompletely. */
return 0;
/* Is TZ patching enabled? */