]> granicus.if.org Git - strace/commit
Fix decoding of preadv syscall in case of short read
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 30 Mar 2016 18:04:00 +0000 (18:04 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 30 Mar 2016 18:04:00 +0000 (18:04 +0000)
commitc98ab8805b3876426c8d4359fa1c981c324923bf
tree582cfd2a4f7aa6e8966698080c36f5d852d699d1
parentd461151f2384834d9c6cc98dc7285f363a6186ed
Fix decoding of preadv syscall in case of short read

* io.c (SYS_FUNC(preadv)): Call tprint_iov_upto instead
of tprint_iov and specify syscall return value as a data size limit.
* NEWS: Mention it.
* tests/preadv.c (main): Add a test case for preadv short read.
NEWS
io.c
tests/preadv.c