dbghelp: Zero-terminate module name in minidump.
This commit is contained in:
parent
260deef761
commit
234babeaf0
|
@ -476,7 +476,7 @@ static void dump_modules(struct dump_context* dc, BOOL dump_elf)
|
|||
mdModule.TimeDateStamp = dc->module[i].timestamp;
|
||||
mdModule.ModuleNameRva = dc->rva;
|
||||
ms->Length -= sizeof(WCHAR);
|
||||
append(dc, ms, sizeof(ULONG) + ms->Length);
|
||||
append(dc, ms, sizeof(ULONG) + ms->Length + sizeof(WCHAR));
|
||||
memset(&mdModule.VersionInfo, 0, sizeof(mdModule.VersionInfo)); /* FIXME */
|
||||
mdModule.CvRecord.DataSize = 0; /* FIXME */
|
||||
mdModule.CvRecord.Rva = 0; /* FIXME */
|
||||
|
|
Loading…
Reference in New Issue