https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6c38b251cfe6b281b21ec3c1376fb69dd71ec9ae
commit 6c38b251cfe6b281b21ec3c1376fb69dd71ec9ae Author: William Kent <[email protected]> AuthorDate: Fri May 13 16:33:31 2022 -0400 Commit: Stanislav Motylkov <[email protected]> CommitDate: Wed May 25 16:34:16 2022 +0300 [DBGHELP] Fix rsym runtime crash on ARM64 host CORE-17518 --- dll/win32/dbghelp/symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/dbghelp/symbol.c b/dll/win32/dbghelp/symbol.c index f16a1e2cf8e..2265add7fc8 100644 --- a/dll/win32/dbghelp/symbol.c +++ b/dll/win32/dbghelp/symbol.c @@ -109,7 +109,7 @@ DWORD symt_ptr2index(struct module* module, const struct symt* sym) struct symt* symt_index2ptr(struct module* module, DWORD id) { -#ifdef __x86_64__ +#if defined(__x86_64__) || defined(__arm64__) if (!id-- || id >= vector_length(&module->vsymt)) return NULL; return *(struct symt**)vector_at(&module->vsymt, id); #else
