]> granicus.if.org Git - strace/commit
tests: fix unaligned access in nlattr.test
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 4 Aug 2017 19:08:27 +0000 (19:08 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 4 Aug 2017 19:08:27 +0000 (19:08 +0000)
commit17f095a9457c4a03faefddcf90e67ba5792e09af
tree8bd8350ad40f2bbbef0a10b77d1090fffcf156d9
parent8bf63c5ec761a34c5e9f51b8265900e0f3455da9
tests: fix unaligned access in nlattr.test

* tests/nlattr.c (test_nlattr): Use SET_STRUCT
to initialize potentially unaligned struct nlattr.
tests/nlattr.c