Commit 6733c6ba authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dbghelp: Assign to struct instead of using memcpy.

parent cef389c1
......@@ -235,7 +235,7 @@ static BOOL fetch_thread_info(struct dump_context* dc, int thd_idx,
}
else pctx = except->ExceptionPointers->ContextRecord;
memcpy(ctx, pctx, sizeof(*ctx));
*ctx = *pctx;
fetch_thread_stack(dc, tbi.TebBaseAddress, pctx, &mdThd->Stack);
}
else mdThd->SuspendCount = 0;
......
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