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

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to