mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[NTOSKRNL]
Fix return of MiProtectedPoolUnProtectLinks() which was always returning null, instead of returning safe unprotected links when needed svn path=/trunk/; revision=59478
This commit is contained in:
@@ -118,7 +118,7 @@ MiProtectedPoolUnProtectLinks(IN PLIST_ENTRY Links,
|
||||
|
||||
/* So make it safe to access */
|
||||
Safe = MiUnProtectFreeNonPagedPool(PoolVa, 1);
|
||||
if (Safe) PoolFlink = PoolVa;
|
||||
if (Safe) *PoolFlink = PoolVa;
|
||||
}
|
||||
|
||||
/* Are we going to need a backward link too? */
|
||||
@@ -129,7 +129,7 @@ MiProtectedPoolUnProtectLinks(IN PLIST_ENTRY Links,
|
||||
|
||||
/* Make it safe to access */
|
||||
Safe = MiUnProtectFreeNonPagedPool(PoolVa, 1);
|
||||
if (Safe) PoolBlink = PoolVa;
|
||||
if (Safe) *PoolBlink = PoolVa;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user