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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Fri May 10 21:53:49 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/83/13983/1

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: newchange
Gerrit-Change-Id: I5f561d9682c9fb87e4837430063095ef2cb7bd5f
Gerrit-Change-Number: 13983
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190510/0d9b3163/attachment.html>


More information about the gerrit-log mailing list