Mario Kart Wii Gecko Codes, Cheats, & Hacks

Full Version: USER Overflow Fix [Star]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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