Change in libosmocore[master]: frame_relay: fix NULL pointer deref

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Wed Feb 3 10:58:10 UTC 2021


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/22646 )


Change subject: frame_relay: fix NULL pointer deref
......................................................................

frame_relay: fix NULL pointer deref

Related: CID#215530
Change-Id: Ic58394ab44ee555a0c5dee2b07fa1054093fbcf0
---
M src/gb/frame_relay.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/46/22646/1

diff --git a/src/gb/frame_relay.c b/src/gb/frame_relay.c
index ff97a17..96f51cf 100644
--- a/src/gb/frame_relay.c
+++ b/src/gb/frame_relay.c
@@ -585,6 +585,7 @@
 			dlc = osmo_fr_dlc_alloc(link, dlci);
 			if (!dlc) {
 				LOGPFRL(link, LOGL_ERROR, "Rx STATUS: Could not create DLC %d\n", dlci);
+				continue;
 			}
 		}
 

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/22646
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ic58394ab44ee555a0c5dee2b07fa1054093fbcf0
Gerrit-Change-Number: 22646
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210203/882ebcdd/attachment.htm>


More information about the gerrit-log mailing list