neels has uploaded this change for review.

View Change

coverity CID#322728

Change-Id: Ia4c6b7c6f16331932e3f584b800e86d422a4f019
---
M src/stream.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/91/37991/1
diff --git a/src/stream.c b/src/stream.c
index f8cbed6..6576259 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -275,7 +275,7 @@
/*! wrapper for regular synchronous sctp_recvmsg(3) */
int stream_sctp_recvmsg_wrapper(int fd, struct msgb *msg, const char *log_pfx)
{
- struct sctp_sndrcvinfo sinfo;
+ struct sctp_sndrcvinfo sinfo = {};
int flags = 0;
int ret;


To view, visit change 37991. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Ia4c6b7c6f16331932e3f584b800e86d422a4f019
Gerrit-Change-Number: 37991
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr@sysmocom.de>