mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 05:54:05 +00:00
[NTOS:IO] Fix always-false condition in IoCheckEaBufferValidity.
Spotted by clang.
This commit is contained in:
parent
faaf2dc0e6
commit
57225adaac
|
@ -251,7 +251,7 @@ IoCheckEaBufferValidity(IN PFILE_FULL_EA_INFORMATION EaBuffer,
|
||||||
/* Compute the remaining bits */
|
/* Compute the remaining bits */
|
||||||
EaLength -= NextEntryOffset;
|
EaLength -= NextEntryOffset;
|
||||||
/* We must have bits left */
|
/* We must have bits left */
|
||||||
if (EaLength < 0)
|
if ((LONG)EaLength < 0)
|
||||||
{
|
{
|
||||||
goto FailPath;
|
goto FailPath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue