Skip to content
Snippets Groups Projects
Commit 8ef98855 authored by Vittorio Giovara's avatar Vittorio Giovara
Browse files

sctp: Always initialize outmsg struct

CC: libav-stable@libav.org
Bug-Id: CID 1302711
parent caf7be30
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ static int ff_sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr *from, ...@@ -116,7 +116,7 @@ static int ff_sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr *from,
static int ff_sctp_send(int s, const void *msg, size_t len, static int ff_sctp_send(int s, const void *msg, size_t len,
const struct sctp_sndrcvinfo *sinfo, int flags) const struct sctp_sndrcvinfo *sinfo, int flags)
{ {
struct msghdr outmsg; struct msghdr outmsg = { 0 };
struct iovec iov; struct iovec iov;
outmsg.msg_name = NULL; outmsg.msg_name = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment