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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/21242 ) Change subject: ns2: check if ns_vc_alloc() fails in bind_connect() ...................................................................... ns2: check if ns_vc_alloc() fails in bind_connect() Change-Id: I82c984b9808451a72a62ff03b0495a1d09473e1c --- M src/gb/gprs_ns2_udp.c 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/src/gb/gprs_ns2_udp.c b/src/gb/gprs_ns2_udp.c index 0676314..26a0483 100644 --- a/src/gb/gprs_ns2_udp.c +++ b/src/gb/gprs_ns2_udp.c @@ -379,6 +379,9 @@ struct priv_vc *priv; nsvc = ns2_vc_alloc(bind, nse, true); + if (!nsvc) + return NULL; + nsvc->priv = talloc_zero(bind, struct priv_vc); if (!nsvc->priv) { gprs_ns2_free_nsvc(nsvc); -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21242 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I82c984b9808451a72a62ff03b0495a1d09473e1c Gerrit-Change-Number: 21242 Gerrit-PatchSet: 2 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201120/4efe4148/attachment.htm>