summaryrefslogblamecommitdiff
path: root/system/strace/nlattr-fix.patch
blob: c0bb90062b977434eff6ab39f15c4a90cd9166b9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                                             
                 






                                                     
                   







                                                               
--- strace-4.18/tests/nlattr.c.old        2017-07-05 07:08:09.000000000 +0000
+++ strace-4.18/tests/nlattr.c    2017-08-17 00:25:26.734218699 +0000
@@ -41,7 +41,7 @@
 	};
 	struct msg *msg;
 	struct nlattr *nla;
-	unsigned int msg_len;
+	uint32_t msg_len;
 	long rc;
 
 	/* fetch fail: len < sizeof(struct nlattr) */
@@ -246,7 +246,7 @@
 	};
 	struct msg *msg;
 	struct nlattr *nla;
-	unsigned int msg_len;
+	uint32_t msg_len;
 	long rc;
 
 	msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla);