aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-11-12 12:32:47 +0100
committerFlorin Coras <florin.coras@gmail.com>2021-11-12 15:49:53 +0000
commit3108399fcf3e94b47a0b23f02fea3b39ab8be637 (patch)
tree499ab7cee40a0a24f80e6164c91c6607864a4aa8
parentbea6993274d653582eaeabd00510ec3640ea337f (diff)
srtp: fix uninitialized value
Type: fix Fixes: 6621abf Change-Id: I7cd4d6344613c950cc0018bed7306b8840292221 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--src/plugins/srtp/srtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/srtp/srtp.c b/src/plugins/srtp/srtp.c
index 9e5c367b1a7..62274ba635e 100644
--- a/src/plugins/srtp/srtp.c
+++ b/src/plugins/srtp/srtp.c
@@ -227,7 +227,7 @@ srtp_ctx_write (srtp_tc_t *ctx, session_t *app_session,
{
u32 n_wrote = 0, to_deq, dgram_sz;
session_dgram_pre_hdr_t hdr;
- app_session_transport_t at;
+ app_session_transport_t at = {};
svm_msg_q_t *mq;
session_t *us;
u8 buf[2000];