[DBGHELP] Fix rsym runtime crash on ARM64 host

CORE-17518
This commit is contained in:
William Kent 2022-05-13 16:33:31 -04:00 committed by Stanislav Motylkov
parent 21bd607758
commit 6c38b251cf
No known key found for this signature in database
GPG Key ID: AFE513258CBA9E92

View File

@ -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