]> granicus.if.org Git - strace/commit
x32: fix decoding of 3rd argument of preadv* and pwritev* syscalls
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 19 Dec 2016 22:13:21 +0000 (01:13 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 20 Dec 2016 03:35:03 +0000 (03:35 +0000)
commit0c6f7555256a0eb0f3e728bed53964dcb565b2e7
tree2cfc646846f5d8589b70ab75a6047687b62d0a5a
parent5451e9ffa6e999379f38ceec903801edcef3427a
x32: fix decoding of 3rd argument of preadv* and pwritev* syscalls

In x32 personality these syscalls use compat type for the 3rd argument,
therefore it has to be truncated there.

* io.c (do_preadv, do_pwritev): Truncate tcp->u_arg[2] using
widen_to_ulong.
io.c