projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40be01c
)
- Fixed the length calculation of a unicode string in vfatGetFCBForFile.
author
Hartmut Birr
<osexpert@googlemail.com>
Tue, 28 Oct 2003 20:21:21 +0000
(20:21 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Tue, 28 Oct 2003 20:21:21 +0000
(20:21 +0000)
svn path=/trunk/; revision=6449
reactos/drivers/fs/vfat/fcb.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/fs/vfat/fcb.c
b/reactos/drivers/fs/vfat/fcb.c
index
cf52a07
..
6560f19
100644
(file)
--- a/
reactos/drivers/fs/vfat/fcb.c
+++ b/
reactos/drivers/fs/vfat/fcb.c
@@
-1,4
+1,4
@@
-/* $Id: fcb.c,v 1.3
4 2003/10/11 17:51:56
hbirr Exp $
+/* $Id: fcb.c,v 1.3
5 2003/10/28 20:21:21
hbirr Exp $
*
*
* FILE: drivers/fs/vfat/fcb.c
@@
-623,7
+623,7
@@
vfatGetFCBForFile (PDEVICE_EXTENSION pVCB,
if (curr > pFileNameU->Buffer)
{
NameU.Buffer = pFileNameU->Buffer;
- NameU.MaximumLength = NameU.Length = (curr - pFileNameU->Buffer
- 1
) * sizeof(WCHAR);
+ NameU.MaximumLength = NameU.Length = (curr - pFileNameU->Buffer) * sizeof(WCHAR);
FCB = vfatGrabFCBFromTable(pVCB, &NameU);
}
else