]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix crash in msghdr_foreachfield when iov_len isn't safe to dereference.
authorMark Wielaard <mark@klomp.org>
Sat, 1 Oct 2016 11:54:41 +0000 (11:54 +0000)
committerMark Wielaard <mark@klomp.org>
Sat, 1 Oct 2016 11:54:41 +0000 (11:54 +0000)
commit1e3852e27cf5d11cb7625cf1c191474ad30501e6
tree4b3658e2016496b513f42e94d5387a2e2380a5f5
parent31e1b8c9bab13d6c758bb8b0185df07b26dbcfe1
Fix crash in msghdr_foreachfield when iov_len isn't safe to dereference.

Also stop checking when max length of bytes have been reached.

Bug #369359
Found by LTP testcases/kernel/syscalls/recvmsg/recvmsg01.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15991
NEWS
coregrind/m_syswrap/syswrap-generic.c