mirror of
https://github.com/reactos/reactos.git
synced 2026-06-08 00:46:10 +08:00
[NTOS:IO] Fix always-false condition in IoCheckEaBufferValidity.
Spotted by clang.
This commit is contained in:
@@ -251,7 +251,7 @@ IoCheckEaBufferValidity(IN PFILE_FULL_EA_INFORMATION EaBuffer,
|
||||
/* Compute the remaining bits */
|
||||
EaLength -= NextEntryOffset;
|
||||
/* We must have bits left */
|
||||
if (EaLength < 0)
|
||||
if ((LONG)EaLength < 0)
|
||||
{
|
||||
goto FailPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user