From: Dmitry V. L. <ld...@al...> - 2017-08-17 12:00:43
|
Hi, On Wed, Aug 16, 2017 at 08:07:31PM -0500, A. Wilcox wrote: > Dear strace developers, > > We are creating a Linux distribution focused on reliability, security, > and speed using the musl libc and a special version of fortify-headers > created for that libc. This fortification has caused an illegal memcpy > in the test suite, in nlattr.c: on 64-bit platforms, 'unsigned int' can > be 64-bits, A 64-bit unsigned int? Really? > while nlhdrmsg's msg_len is a __u32 in linux/netlink.h. > > The attached patch fixes this by declaring msg_len as uint32_t instead > of unsigned int. I guess every second "unsigned int" in strace is in fact uint32_t, do you volunteer to identify and replace all these occurrences? -- ldv |