You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading and executing attached regs_issues.z64 file (s3.zip) results in out-of-bounds read/write in the following locations, due to reg index value being too high:
Loading and executing attached
regs_issues.z64
file (s3.zip) results in out-of-bounds read/write in the following locations, due toreg
index value being too high:mupen64plus-core/src/device/rdram/rdram.c
Line 176 in f500eb5
mupen64plus-core/src/device/rdram/rdram.c
Line 217 in f500eb5
mupen64plus-core/src/device/rcp/rdp/rdp_core.c
Line 109 in f500eb5
mupen64plus-core/src/device/rcp/rdp/rdp_core.c
Line 139 in f500eb5
mupen64plus-core/src/device/rcp/vi/vi_controller.c
Line 154 in f500eb5
mupen64plus-core/src/device/rcp/ai/ai_controller.c
Line 219 in f500eb5
mupen64plus-core/src/device/rcp/pi/pi_controller.c
Line 212 in f500eb5
mupen64plus-core/src/device/rcp/ri/ri_controller.c
Line 52 in f500eb5
mupen64plus-core/src/device/rcp/rsp/rsp_core.c
Line 274 in f500eb5
Provided sample does not cause OOB access in the locations below, but manual analysis raises suspicion that the similar issue may exist there as well:
mupen64plus-core/src/device/rdram/rdram.c
Line 223 in f500eb5
mupen64plus-core/src/device/rcp/rdp/rdp_core.c
Line 89 in f500eb5
mupen64plus-core/src/device/rcp/rdp/rdp_core.c
Line 131 in f500eb5
mupen64plus-core/src/device/rcp/vi/vi_controller.c
Line 108 in f500eb5
mupen64plus-core/src/device/rcp/ai/ai_controller.c
Line 185 in f500eb5
mupen64plus-core/src/device/rcp/pi/pi_controller.c
Line 156 in f500eb5
mupen64plus-core/src/device/rcp/ri/ri_controller.c
Line 44 in f500eb5
mupen64plus-core/src/device/rcp/mi/mi_controller.c
Line 86 in f500eb5
mupen64plus-core/src/device/rcp/rsp/rsp_core.c
Line 252 in f500eb5
mupen64plus-core/src/device/rcp/si/si_controller.c
Line 126 in f500eb5
One way to confirm the issue is to set conditional breakpoints in suspected lines in gdb before loading and executing provided ROM:
Test platform
CFLAGS += -O0 -g
-O0
and-g
for better crash backtraces in Release buildThe text was updated successfully, but these errors were encountered: