Author: fireball
Date: Thu Dec 11 11:16:11 2008
New Revision: 38020
URL:
http://svn.reactos.org/svn/reactos?rev=38020&view=rev
Log:
Daniel Zimmerman <netzimme(a)aim.com>
- Fix the "OVERRUN STATIC error" in CID 557-574 in explorer (use a byte array
instead of a shortfilename-sized array).
See issue #3914 for more details.
Modified:
trunk/reactos/base/shell/explorer/shell/fatfs.cpp
Modified: trunk/reactos/base/shell/explorer/shell/fatfs.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/shell/…
==============================================================================
--- trunk/reactos/base/shell/explorer/shell/fatfs.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/shell/fatfs.cpp [iso-8859-1] Thu Dec 11 11:16:11
2008
@@ -138,6 +138,7 @@
*d = '\0';
} else {
// read long file name
+ s = (const char*)p->Ent->B;
TCHAR lname[] = {s[1], s[3], s[5], s[7], s[9], s[14], s[16], s[18], s[20], s[22],
s[24], s[28], s[30]};
long_name = String(lname, 13) + long_name;