mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[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:
parent
5f617a7c44
commit
9d03d12745
1 changed files with 2 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue