From: Dmitry V. Levin Date: Mon, 2 Mar 2015 23:39:41 +0000 (+0000) Subject: alpha: fix -yy decoding X-Git-Tag: v4.10~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=301c65cbf0b9c999e24ff6b3518abe3dca63b229;p=strace alpha: fix -yy decoding * socketutils.c (receive_responses): Align buffer on a sizeof(long) boundary. Reported-and-tested-by: Mike Frysinger --- diff --git a/socketutils.c b/socketutils.c index 2de59cd3..93f5f16e 100644 --- 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 };