aboutsummaryrefslogtreecommitdiff
blob: dc9c4bcaa4c79551e2862da000635f899f14cf06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 389ec09764..116d5eaff5 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -3337,7 +3337,7 @@ static abi_long do_sendrecvmsg_locked(int fd, struct target_msghdr *msgp,
                                       int flags, int send)
 {
     abi_long ret, len;
-    struct msghdr msg;
+    struct msghdr msg = {};
     abi_ulong count;
     struct iovec *vec;
     abi_ulong target_vec;