mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* pinfo.cc (_pinfo::commune_send): Initialize buffer or suffer random crashes.
This commit is contained in:
parent
8948b6585d
commit
f57289609b
@ -1,3 +1,8 @@
|
||||
2002-11-04 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* pinfo.cc (_pinfo::commune_send): Initialize buffer or suffer random
|
||||
crashes.
|
||||
|
||||
2002-11-04 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* fhandler_process.cc (fhandler_process::fill_filebuf): Deal with error
|
||||
|
@ -328,6 +328,10 @@ _pinfo::commune_send (DWORD code)
|
||||
HANDLE fromme = NULL, tothem = NULL;
|
||||
DWORD nr;
|
||||
commune_result res;
|
||||
|
||||
res.s = NULL;
|
||||
res.n = 0;
|
||||
|
||||
if (!pid || !this)
|
||||
{
|
||||
set_errno (ESRCH);
|
||||
|
Loading…
x
Reference in New Issue
Block a user