frame_relay: fix NULL pointer deref

Related: CID#215530
Change-Id: Ic58394ab44ee555a0c5dee2b07fa1054093fbcf0
This commit is contained in:
Alexander Couzens 2021-02-03 11:35:48 +01:00
parent 24d9e80911
commit ca3550a261
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}