[NTOSKRNL]

- Sam Arun Raj Seeniraj: ObpLookupObjectName() used to reparse endlessly when a symlink points to itself, preventing this by limiting number of reparse attemtps.
See issue #993 for more details.

svn path=/trunk/; revision=51666
This commit is contained in:
Aleksey Bragin 2011-05-10 15:43:55 +00:00
parent 5f617a7c44
commit 9d03d12745

View file

@ -544,7 +544,7 @@ ParseFromRoot:
}
/* Reparse */
while (Reparse)
while (Reparse && MaxReparse)
{
/* Get the name */
RemainingName = *ObjectName;
@ -795,6 +795,7 @@ ReparseObject:
{
/* Reparse again */
Reparse = TRUE;
--MaxReparse;
/* Start over from root if we got sent back there */
if ((Status == STATUS_REPARSE_OBJECT) ||