mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 09:02:20 +00:00
sctp: Always initialize outmsg struct
CC: libav-stable@libav.org Bug-Id: CID 1302711
This commit is contained in:
parent
caf7be30b1
commit
8ef98855d2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user