Zero out the vki_user_regs_struct before using it.  Otherwise, we end
up passing uninitialised garbage on the stack to ptrace(SETREGS, ...)
for any fields in the struct which are not filled in.  This does not
fix any known bugs, but seems like a good precautionary measure.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7187 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed