mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 10:54:10 +00:00
dbghelp: Read debuggee environment by page.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
733bf91606
commit
152e72c82c
|
@ -404,7 +404,7 @@ static BOOL check_live_target(struct process* pcs, BOOL wow64, BOOL child_wow64)
|
|||
|
||||
do
|
||||
{
|
||||
size_t read_size = sysinfo.dwAllocationGranularity - (env & (sysinfo.dwAllocationGranularity - 1));
|
||||
size_t read_size = sysinfo.dwPageSize - (env & (sysinfo.dwPageSize - 1));
|
||||
if (!(new_buf = realloc(buf, buf_size + read_size))) break;
|
||||
buf = new_buf;
|
||||
|
||||
|
|
Loading…
Reference in a new issue