ntdll: Fix the index check in RtlGetAce.
commit21e2caa484ecd0051bad5333fdc0843b71448c11
authorRob Shearman <rob@codeweavers.com>
Tue, 22 Jan 2008 15:36:09 +0000 (22 15:36 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Jan 2008 10:31:42 +0000 (23 11:31 +0100)
tree303ba4752e97f3038c819deedde4b4d50b9e387a
parent261bf8dad5c23e5ba0883510e237d42601b613df
ntdll: Fix the index check in RtlGetAce.

The index is zero based so we should obviously be returning
STATUS_INVALID_PARAMETER if the index is equal to the ACE count.
dlls/ntdll/sec.c