269261
269261
Sample files were attached to this issue in a ZIP file ([s2.zip](https://github.com/mupen64plus/mupen64plus-core/files/13403763/s2.zip)). ### Issue 1 - OOB read past the end of `itype` array *Crash is reproducible only if mupen64plus-core...
Loading and executing one of the attached files ([s4.zip](https://github.com/mupen64plus/mupen64plus-core/files/13403784/s4.zip)) results either in SIGILL (invalid instruction in extra_buffer) or SIGSEGV. For SIGILL-causing file (cpuinstr1.z64) the invalid instruction generation seems to be...
Loading and executing attached `regs_issues.z64` file ([s3.zip](https://github.com/mupen64plus/mupen64plus-core/files/13403766/s3.zip)) results in out-of-bounds read/write in the following locations, due to `reg` index value being too high: - https://github.com/mupen64plus/mupen64plus-core/blob/f500eb58f76e636e231c3cc2b3d904210f0677c9/src/device/rdram/rdram.c#L176 - https://github.com/mupen64plus/mupen64plus-core/blob/f500eb58f76e636e231c3cc2b3d904210f0677c9/src/device/rdram/rdram.c#L217 - https://github.com/mupen64plus/mupen64plus-core/blob/f500eb58f76e636e231c3cc2b3d904210f0677c9/src/device/rcp/rdp/rdp_core.c#L109 -...