* fhandler_process.cc (fhandler_process::fill_filebuf): Open pinfo with
PID_MAP_RW. * sigproc.cc (talktome): Ditto for winpids.
This commit is contained in:
@ -1056,10 +1056,11 @@ stopped_or_terminated (waitq *parent_w, _pinfo *child)
|
||||
static void
|
||||
talktome ()
|
||||
{
|
||||
winpids pids;
|
||||
winpids pids ((DWORD) PID_MAP_RW);
|
||||
for (unsigned i = 0; i < pids.npids; i++)
|
||||
if (pids[i]->hello_pid == myself->pid)
|
||||
pids[i]->commune_recv ();
|
||||
if (!IsBadWritePtr (pids[i], sizeof (_pinfo)))
|
||||
pids[i]->commune_recv ();
|
||||
}
|
||||
|
||||
#define RC_MAIN 0
|
||||
|
Reference in New Issue
Block a user