3DS Userland Flaws: Difference between revisions
| Line 94: | Line 94: | ||
| | [[User:Yellows8|Yellows8]] | | [[User:Yellows8|Yellows8]] | ||
| |- | |- | ||
| | [[Home Menu]] theme-data decompression buffer overflow ([[themehax]]) | | [[Home Menu]] theme-data decompression buffer overflow ([[menuhax|themehax]]) | ||
| | The only func-call size parameter used by the theme decompression function is one for the compressed size, none for the decompressed size. The decompressed-size value from the LZ header is used by this function to check when to stop decompressing, but this function itself has nothing to verify the decompressed_size with. The code calling this function does not check or even use the decompressed size from the header either. | | The only func-call size parameter used by the theme decompression function is one for the compressed size, none for the decompressed size. The decompressed-size value from the LZ header is used by this function to check when to stop decompressing, but this function itself has nothing to verify the decompressed_size with. The code calling this function does not check or even use the decompressed size from the header either. | ||