mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Always initialize pl_event.
Submitted by: Andrey Zonov <andrey@zonov.org> MFC after: 3 days
This commit is contained in:
parent
0a1a3230b6
commit
c0c6e95f7f
1 changed files with 1 additions and 0 deletions
|
|
@ -1112,6 +1112,7 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
|
|||
#endif
|
||||
pl = addr;
|
||||
pl->pl_lwpid = td2->td_tid;
|
||||
pl->pl_event = PL_EVENT_NONE;
|
||||
pl->pl_flags = 0;
|
||||
if (td2->td_dbgflags & TDB_XSIG) {
|
||||
pl->pl_event = PL_EVENT_SIGNAL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue