alpha net-yy test failures due to port decode errors

Mike Frysinger vapier at gentoo.org
Tue Mar 3 04:20:12 UTC 2015


On 03 Mar 2015 12:48, Masatake YAMATO wrote:
> On Tue, 3 Mar 2015 03:13:11 +0300, "Dmitry V. Levin" <ldv at altlinux.org> wrote:
> >> > --- a/socketutils.c
> >> > +++ b/socketutils.c
> >> > @@ -114,7 +114,7 @@ receive_responses(const int fd, const unsigned long inode,
> >> >  		  const char *proto_name,
> >> >  		  bool (* parser) (const char *, const void *, int, const unsigned long))
> >> >  {
> >> > -	static char buf[8192];
> >> > +	static long buf[8192 / sizeof(long)];
> >> >  	struct sockaddr_nl nladdr = {
> >> >  		.nl_family = AF_NETLINK
> >> >  	};
> 
> ??? What does thie mean?
> The addresses of long buf and char buf differs?

afaict, it only changes alignment
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150302/366ebc2b/attachment.bin>


More information about the Strace-devel mailing list