mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user