Skip to content

Commit

Permalink
Merge of IET r240: Fix use of uninitialised data in nl_write()
Browse files Browse the repository at this point in the history
  • Loading branch information
vlnb committed Apr 21, 2010
1 parent 397e096 commit 6e92349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iscsi-scst/usr/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static int nl_write(int fd, void *data, int len)
{
struct iovec iov[2];
struct msghdr msg;
struct nlmsghdr nlh;
struct nlmsghdr nlh = {0};

iov[0].iov_base = &nlh;
iov[0].iov_len = sizeof(nlh);
Expand Down

0 comments on commit 6e92349

Please sign in to comment.