aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-02-03 11:35:48 +0100
committerAlexander Couzens <lynxis@fe80.eu>2021-02-03 14:37:54 +0100
commitca3550a261f2e53dab56c7aca75f7b2a070272f4 (patch)
treeec4ffd7724aa2506a471085fcff39de95e787775 /src
parent24d9e80911f455ffe515ee3405d4d0fcb815224b (diff)
frame_relay: fix NULL pointer deref
Related: CID#215530 Change-Id: Ic58394ab44ee555a0c5dee2b07fa1054093fbcf0
Diffstat (limited to 'src')
-rw-r--r--src/gb/frame_relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gb/frame_relay.c b/src/gb/frame_relay.c
index ff97a173..96f51cfc 100644
--- a/src/gb/frame_relay.c
+++ b/src/gb/frame_relay.c
@@ -585,6 +585,7 @@ static int parse_link_pvc_status(struct osmo_fr_link *link, struct tlv_parsed *t
dlc = osmo_fr_dlc_alloc(link, dlci);
if (!dlc) {
LOGPFRL(link, LOGL_ERROR, "Rx STATUS: Could not create DLC %d\n", dlci);
+ continue;
}
}