Mario Kart Wii Gecko Codes, Cheats, & Hacks
USER Overflow Fix [Star] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51)
+--- Forum: Online Non-Item (https://mariokartwii.com/forumdisplay.php?fid=52)
+--- Thread: USER Overflow Fix [Star] (/showthread.php?tid=1855)



USER Overflow Fix [Star] - Seeky - 07-04-2021

USER Overflow Fix [Star]

This code validates the mii count field of incoming USER records to prevent a buffer overflow that could potentially be used as an RCE exploit.

WARNING: this code only fixes one specific overflow, it does not protect against Star's original RCE exploit and wouldn't protect against any other exploits if they were to be found. For protection against the current known exploits, you should pair this code with RACE Header RCE Protection or use RACE Packet Validation instead, which protects against both and can also act as an antifreeze (although it's a longer gecko code than the other two combined)


NTSC-U
C26555FC 00000006
89250009 8945000A
8905000B 88E5000C
7D254A14 7D295214
7D294214 7D293A14
A1290014 2C090002
4C820020 00000000

NTSC-J
C26590F0 00000006
89250009 8945000A
8905000B 88E5000C
7D254A14 7D295214
7D294214 7D293A14
A1290014 2C090002
4C820020 00000000

PAL
C2659A84 00000006
89250009 8945000A
8905000B 88E5000C
7D254A14 7D295214
7D294214 7D293A14
A1290014 2C090002
4C820020 00000000

NTSC-K
C2647D9C 00000006
89250009 8945000A
8905000B 88E5000C
7D254A14 7D295214
7D294214 7D293A14
A1290014 2C090002
4C820020 00000000

This code is adapted from the source code available here.

Code created by: Star