Merge commit '8ef98855d25e457094468e2e1a79d9b10d6445b2'

* commit '8ef98855d25e457094468e2e1a79d9b10d6445b2':
  sctp: Always initialize outmsg struct

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-08 22:35:49 +02:00
commit 01a6ae1396
1 changed files with 1 additions and 1 deletions

View File

@ -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;