dbghelp: Fix read beyond end of field in module_get_debug.

This commit is contained in:
Rob Shearman 2008-02-21 16:44:24 +00:00 committed by Alexandre Julliard
parent 5e1976368a
commit f21b91c0a2
1 changed files with 1 additions and 1 deletions

View File

@ -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;