- Fix IntEaLength's type (ULONG -> LONG), so it could actually become negative, and corresponding check will be performed.

svn path=/trunk/; revision=28886
This commit is contained in:
Aleksey Bragin 2007-09-05 21:35:09 +00:00
parent e598b5b7ae
commit 396346644c

View file

@ -139,7 +139,8 @@ IoCheckEaBufferValidity(IN PFILE_FULL_EA_INFORMATION EaBuffer,
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;