Eric van Beurden : dbghelp: Fix a minidump crash by using the correct variable.

Alexandre Julliard julliard at winehq.org
Fri Dec 18 10:49:10 CST 2009


Module: wine
Branch: master
Commit: fefd0cfda788c16534ef81122fc65604f5c3e9d6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fefd0cfda788c16534ef81122fc65604f5c3e9d6

Author: Eric van Beurden <ericvb at transgaming.com>
Date:   Thu Dec 17 15:24:58 2009 -0500

dbghelp: Fix a minidump crash by using the correct variable.

---

 dlls/dbghelp/minidump.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dbghelp/minidump.c b/dlls/dbghelp/minidump.c
index b026d32..1dc7dc3 100644
--- a/dlls/dbghelp/minidump.c
+++ b/dlls/dbghelp/minidump.c
@@ -230,7 +230,7 @@ static BOOL fetch_thread_info(struct dump_context* dc, int thd_idx,
                     ReadProcessMemory(dc->hProcess, except->ExceptionPointers,
                                       &ep, sizeof(ep), NULL);
                     ReadProcessMemory(dc->hProcess, ep.ContextRecord,
-                                      &ctx, sizeof(ctx), NULL);
+                                      &lctx, sizeof(lctx), NULL);
                     pctx = &lctx;
                 }
                 else pctx = except->ExceptionPointers->ContextRecord;




More information about the wine-cvs mailing list