MathewWi / sneek

Automatically exported from code.google.com/p/sneek
0 stars 0 forks source link

Long filenames in games folder overflow filelist buffer #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up UNEEK+DI
2. Put files in the games folder that average over 13 characters for folder 
names
3. Start up the Wii and watch the segfault happen.

What revision are you using? With what configuration
(SNEEK/UNEEK/SNEEK+DI)?
UNEEK+DI

Please provide any additional information below.
Readdir takes into account a maximum of 13 characters for filenames, 
multiplying the filescount by 13 for the filenames buffer. Longer filenames are 
supported in this version, causing any combination of > 13 characters on 
average to crash.

Original issue reported on code.google.com by thuli...@gmail.com on 26 Jul 2010 at 2:33

GoogleCodeExporter commented 9 years ago

Original comment by cred...@rypp.net on 26 Jul 2010 at 3:00

GoogleCodeExporter commented 9 years ago

Original comment by cred...@rypp.net on 3 Aug 2010 at 7:26