Commit d207d270 authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

DEBUG_ProcessDBGFile: allocate MSC_DBG_INFO before writing to members

of that structure.
parent dec5b509
......@@ -3107,6 +3107,7 @@ DEBUG_ProcessDBGFile(DBG_MODULE* module, const char* filename)
* COFF stuff embedded within the DBG file.
*/
memset((char *) &module2, 0, sizeof(module2));
module2.extra_info = DBG_alloc(sizeof(MSC_DBG_INFO));
MSC_INFO(&module2)->dbg_info = (addr + dbghdr->PointerToRawData);
MSC_INFO(&module2)->dbg_size = dbghdr->SizeOfData;
module2.load_addr = module->load_addr;
......
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