dbghelp: Fix read beyond end of field in module_get_debug.
This commit is contained in:
parent
5e1976368a
commit
f21b91c0a2
|
@ -308,7 +308,7 @@ BOOL module_get_debug(struct module_pair* pair)
|
||||||
idslW64.CheckSum = pair->effective->module.CheckSum;
|
idslW64.CheckSum = pair->effective->module.CheckSum;
|
||||||
idslW64.TimeDateStamp = pair->effective->module.TimeDateStamp;
|
idslW64.TimeDateStamp = pair->effective->module.TimeDateStamp;
|
||||||
memcpy(idslW64.FileName, pair->effective->module.ImageName,
|
memcpy(idslW64.FileName, pair->effective->module.ImageName,
|
||||||
sizeof(idslW64.FileName));
|
sizeof(pair->effective->module.ImageName));
|
||||||
idslW64.Reparse = FALSE;
|
idslW64.Reparse = FALSE;
|
||||||
idslW64.hFile = INVALID_HANDLE_VALUE;
|
idslW64.hFile = INVALID_HANDLE_VALUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue