mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 12:53:33 +00:00
- 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:
parent
e598b5b7ae
commit
396346644c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue