From c026b4fed56599b099a004f292074dff1d0fbe73 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Thu, 11 Dec 2008 17:16:11 +0000 Subject: [PATCH] Daniel Zimmerman - 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. svn path=/trunk/; revision=38020 --- reactos/base/shell/explorer/shell/fatfs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/base/shell/explorer/shell/fatfs.cpp b/reactos/base/shell/explorer/shell/fatfs.cpp index 8750637df9e..dd04c63a5ac 100644 --- a/reactos/base/shell/explorer/shell/fatfs.cpp +++ b/reactos/base/shell/explorer/shell/fatfs.cpp @@ -138,6 +138,7 @@ void FATDirectory::read_directory(int scan_flags) *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;