Author: fireball
Date: Thu Sep 6 01:35:09 2007
New Revision: 28886
URL:
http://svn.reactos.org/svn/reactos?rev=28886&view=rev
Log:
- Fix IntEaLength's type (ULONG -> LONG), so it could actually become negative, and
corresponding check will be performed.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/util.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/util.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/util.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/util.c (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/util.c Thu Sep 6 01:35:09 2007
@@ -139,7 +139,8 @@
OUT PULONG ErrorOffset)
{
PFILE_FULL_EA_INFORMATION EaBufferEnd;
- ULONG NextEaBufferOffset, IntEaLength;
+ ULONG NextEaBufferOffset;
+ LONG IntEaLength;
/* Lenght of the rest. Inital equal to EaLength */
IntEaLength = EaLength;