Mark Wielaard 1e3852e27c 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
2016-10-01 11:54:41 +00:00
..
2016-08-15 02:31:27 +00:00
2016-09-13 19:06:23 +00:00
2016-08-17 18:05:13 +00:00
2016-08-10 14:38:10 +00:00
2016-07-02 18:46:23 +00:00
2016-02-26 15:30:53 +00:00
2016-09-13 19:06:23 +00:00
2016-08-15 02:31:27 +00:00