Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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
posted by Igor Skochinsky 29 Mar 2013
tags for code.<<code>>