From c7918378631992d874c99736272ed342d5d77b2c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 8 Dec 2018 19:03:09 +0100 Subject: executor: fix handling of big-endian bitfields Currently we apply big-endian-ness and bitfield-ness in the wrong order in copyin. This leads to totally bogus result. Fix this. --- sys/test/exec.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/test/exec.txt') diff --git a/sys/test/exec.txt b/sys/test/exec.txt index 4d60fa0eb..83da4708d 100644 --- a/sys/test/exec.txt +++ b/sys/test/exec.txt @@ -7,6 +7,10 @@ syz_compare(want ptr[in, string], want_len len[want], got ptr[in, compare_data], compare_data [ align0 align0 + bf0 syz_bf_struct0 + bf1 syz_bf_struct1 + bf2 syz_bf_struct2 + bf3 syz_bf_struct3 ] [varlen] align0 { -- cgit mrf-deployment