11 years, 1 month ago.

FATFileSystem::open buffer overrun bug

Any filename over 63 characters is going to overrun the local n[64] buffer.

FileHandle *FATFileSystem::open(const char* name, int flags) { debug_if(FFS_DBG, "open(%s) on filesystem [%s], drv [%d]\n", name, _name, _fsid); char n[64]; sprintf(n, "%d:/%s", _fsid, name);

This doesn't seem to be a question, you probably should post it to the Bugs forum or email to support. Also, please use <<code>> tags for code.

posted by Igor Skochinsky 29 Mar 2013
Be the first to answer this question.