Zebediah Figura : dbghelp: Avoid an infinite loop.

Alexandre Julliard julliard at winehq.org
Thu Feb 1 16:14:53 CST 2018


Module: wine
Branch: master
Commit: 5d740ddcfed5da981e2741610937e879b184004f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5d740ddcfed5da981e2741610937e879b184004f

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Wed Jan 31 22:03:12 2018 -0600

dbghelp: Avoid an infinite loop.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/cpu_x86_64.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/dbghelp/cpu_x86_64.c b/dlls/dbghelp/cpu_x86_64.c
index 99b5c17..67b710c 100644
--- a/dlls/dbghelp/cpu_x86_64.c
+++ b/dlls/dbghelp/cpu_x86_64.c
@@ -712,6 +712,7 @@ static void*    x86_64_find_runtime_function(struct module* module, DWORD64 addr
             while (rtf->UnwindData & 1)  /* follow chained entry */
             {
                 FIXME("RunTime_Function outside IMAGE_DIRECTORY_ENTRY_EXCEPTION unimplemented yet!\n");
+                return NULL;
                 /* we need to read into the other process */
                 /* rtf = (RUNTIME_FUNCTION*)(module->module.BaseOfImage + (rtf->UnwindData & ~1)); */
             }




More information about the wine-cvs mailing list