Change in osmo-msc[master]: libmsc/mncc_call.c: fix uninitialized access of stack memory

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon May 13 20:15:07 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13983 )

Change subject: libmsc/mncc_call.c: fix uninitialized access of stack memory
......................................................................

libmsc/mncc_call.c: fix uninitialized access of stack memory

Change-Id: I5f561d9682c9fb87e4837430063095ef2cb7bd5f
Fixes: CID#198405
---
M src/libmsc/mncc_call.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libmsc/mncc_call.c b/src/libmsc/mncc_call.c
index 6ea4024..5ca91d0 100644
--- a/src/libmsc/mncc_call.c
+++ b/src/libmsc/mncc_call.c
@@ -199,7 +199,7 @@
 void mncc_call_detach_rtp_stream(struct mncc_call *mncc_call)
 {
 	struct rtp_stream *rtps = mncc_call->rtps;
-	struct osmo_sockaddr_str clear;
+	struct osmo_sockaddr_str clear = { 0 };
 	if (!rtps)
 		return;
 	mncc_call->rtps = NULL;

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5f561d9682c9fb87e4837430063095ef2cb7bd5f
Gerrit-Change-Number: 13983
Gerrit-PatchSet: 4
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190513/742f5178/attachment.html>


More information about the gerrit-log mailing list