capstone-engine / capstone

Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.
http://www.capstone-engine.org
7.51k stars 1.54k forks source link

Apply #2360 to next #2361

Closed Rot127 closed 4 months ago

Rot127 commented 4 months ago

Your checklist for this pull request

Detailed description

Fixes possible endless loop via overflow. Fixed in https://github.com/capstone-engine/capstone/pull/2360 for the v5 branch and here for the next branch.

Test plan

...

Closing issues

...