forked from enlightenment/enlightenment
Initialize siginfo_t
If we don't run the ptrace below, siginfo_t should be initialized. Fixes CID 1039767
This commit is contained in:
parent
0c4131d1be
commit
139153cf2c
|
@ -523,6 +523,7 @@ main(int argc, char **argv)
|
|||
int r = 0;
|
||||
int back;
|
||||
|
||||
memset(&sig, 0, sizeof(siginfo_t));
|
||||
#ifdef HAVE_SYS_PTRACE_H
|
||||
if (!really_know)
|
||||
r = ptrace(PT_GETSIGINFO, child, NULL, &sig);
|
||||
|
|
Loading…
Reference in New Issue