mirror of https://gerrit.osmocom.org/libosmocore
frame_relay: fix NULL pointer deref
Related: CID#215530 Change-Id: Ic58394ab44ee555a0c5dee2b07fa1054093fbcf0
This commit is contained in:
parent
24d9e80911
commit
ca3550a261
|
@ -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);
|
dlc = osmo_fr_dlc_alloc(link, dlci);
|
||||||
if (!dlc) {
|
if (!dlc) {
|
||||||
LOGPFRL(link, LOGL_ERROR, "Rx STATUS: Could not create DLC %d\n", dlci);
|
LOGPFRL(link, LOGL_ERROR, "Rx STATUS: Could not create DLC %d\n", dlci);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue