]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix two safe_to_deref/sizeof mismatches in sys_sigaction/sys_rt_sigaction.
authorMark Wielaard <mark@klomp.org>
Thu, 2 Mar 2017 11:14:36 +0000 (11:14 +0000)
committerMark Wielaard <mark@klomp.org>
Thu, 2 Mar 2017 11:14:36 +0000 (11:14 +0000)
commitadd127dbf918b5c03c2d79a5d31dde689c17dcf4
treedc2db351d045e7f4a6c2026a1efbf22dc2cef94f
parent4b69b40852d8d740d2299e6807585db03c1a2b84
Fix two safe_to_deref/sizeof mismatches in sys_sigaction/sys_rt_sigaction.

Before dereferencing the sigaction pointer and reading the fields we
need to make sure the whole struct is safe_to_deref. We were using the
size of the pointer, but needed the size of the struct.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16258
coregrind/m_syswrap/syswrap-linux.c