mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[NTOSKRNL]
- Save special values in F/Blink when Ex(f)InterlockedRemoveHeadList is called on checked build. Fixes all ntos:ExDoubleList kmtests svn path=/trunk/; revision=54026
This commit is contained in:
parent
1a2f1828f4
commit
dea1bad044
1 changed files with 8 additions and 0 deletions
|
@ -183,6 +183,10 @@ ExInterlockedRemoveHeadList(
|
|||
{
|
||||
/* Remove the first entry from the list head */
|
||||
ListEntry = RemoveHeadList(ListHead);
|
||||
#if DBG
|
||||
ListEntry->Flink = (PLIST_ENTRY)0xBADDD0FF;
|
||||
ListEntry->Blink = (PLIST_ENTRY)0xBADDD0FF;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Release the spinlock and restore interrupts */
|
||||
|
@ -381,6 +385,10 @@ ExfInterlockedRemoveHeadList(
|
|||
{
|
||||
/* Remove the first entry from the list head */
|
||||
ListEntry = RemoveHeadList(ListHead);
|
||||
#if DBG
|
||||
ListEntry->Flink = (PLIST_ENTRY)0x0BADD0FF;
|
||||
ListEntry->Blink = (PLIST_ENTRY)0x0BADD0FF;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Release the spinlock and restore interrupts */
|
||||
|
|
Loading…
Reference in a new issue