Commit f21b91c0 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

dbghelp: Fix read beyond end of field in module_get_debug.

parent 5e197636
......@@ -308,7 +308,7 @@ BOOL module_get_debug(struct module_pair* pair)
idslW64.CheckSum = pair->effective->module.CheckSum;
idslW64.TimeDateStamp = pair->effective->module.TimeDateStamp;
memcpy(idslW64.FileName, pair->effective->module.ImageName,
sizeof(idslW64.FileName));
sizeof(pair->effective->module.ImageName));
idslW64.Reparse = FALSE;
idslW64.hFile = INVALID_HANDLE_VALUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment