diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-05-11 04:53:23 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-13 20:15:04 +0000 |
commit | c5a8e9f19a574e74304a89c8785bf762b726ae8e (patch) | |
tree | 0918d2b6ed6b56336a72b6a71e97db0937b80501 | |
parent | 444771dae23f05294207983f723d3c8f17199f76 (diff) |
libmsc/mncc_call.c: fix uninitialized access of stack memory
Change-Id: I5f561d9682c9fb87e4837430063095ef2cb7bd5f
Fixes: CID#198405
-rw-r--r-- | src/libmsc/mncc_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmsc/mncc_call.c b/src/libmsc/mncc_call.c index 6ea402453..5ca91d022 100644 --- a/src/libmsc/mncc_call.c +++ b/src/libmsc/mncc_call.c @@ -199,7 +199,7 @@ int mncc_call_set_rtp_stream(struct mncc_call *mncc_call, struct rtp_stream *rtp 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; |