mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
fix index out of bounds warning
svn path=/trunk/; revision=31974
This commit is contained in:
parent
be0f87b133
commit
24f6bca826
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ FATAddEntry (PDEVICE_EXTENSION DeviceExt,
|
|||
i++;
|
||||
for (j = 8; j < 11 && aName[i]; j++, i++)
|
||||
{
|
||||
DirContext.DirEntry.Fat.Filename[j] = aName[i];
|
||||
DirContext.DirEntry.Fat.Ext[j - 8] = aName[i];
|
||||
}
|
||||
}
|
||||
if (DirContext.DirEntry.Fat.Filename[0] == 0xe5)
|
||||
|
|
Loading…
Reference in a new issue