commit | 135f5cf634b2fbf3b10f3f5c9c596418fbd07273 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Fri Sep 18 13:04:02 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Sat Sep 19 04:04:48 2015 +0300 |
tree | bd41773abb044e0073706befaa26ad7a344d95e3 | |
parent | 9d4c892ceb3faa7c4af4ff5cef4bf9cb121fa6ce [diff] |
Properly initialize siginfo_t object passed to print_stopped function * strace.c (trace): Clear the whole siginfo_t variable before passing it to ptrace(PTRACE_GETSIGINFO) because the latter may initialize only a part of the structure.