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 <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)

Reply via email to