]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Check each field of the msghdr structure passed to sendmsg/recvmsg
authorTom Hughes <tom@compton.nu>
Mon, 18 Jul 2005 22:41:33 +0000 (22:41 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 18 Jul 2005 22:41:33 +0000 (22:41 +0000)
commit2b08b3a3b01f15f1bef893ab327bbe697ef08572
treeff8ffd2f135e594e4928888ed8b518322b579813
parentf1ec4d203a7f17ae8e882fb31270af93d5753a05
Check each field of the msghdr structure passed to sendmsg/recvmsg
individually to avoid complaints due to uninitialised padding bytes
on 64 bit platforms.

Also fixed sendmsg to check things which should be initialised (the
msghdr structure and the iov array) properly instead of doing a write
check for everything.

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