diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-05-29 13:12:10 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-05-29 13:12:10 -0400 |
| commit | e9f5102a28d8abfe565dc2f1c56fb237c33e05e7 (patch) | |
| tree | d05592e0236722ee5099296d1c07a057f5f49272 | |
| parent | f9da871f6bf0f62dbe4cf406e8192f69e6972938 (diff) | |
Fix crash when reopening a binary with a valid X86_64_RELOC_SUBTRACTOR entry
| -rw-r--r-- | arch/x86/arch_x86.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/arch_x86.cpp b/arch/x86/arch_x86.cpp index cddce41d..a4bae9af 100644 --- a/arch/x86/arch_x86.cpp +++ b/arch/x86/arch_x86.cpp @@ -4272,8 +4272,8 @@ public: result[i].type = IgnoredRelocation; else { - result[i].next = &result[i + 1]; result[i + 1].type = IgnoredRelocation; + result[i].next = new BNRelocationInfo(result[i + 1]); i++; } break; |
