mirror of
https://github.com/reactos/reactos.git
synced 2026-05-25 17:45:16 +08:00
[KERNEL32] FlsAlloc - fiber local storage list was not initialized before using
This commit is contained in:
committed by
Mark Jansen
parent
c1b4d51f0b
commit
d897e271a2
@@ -372,6 +372,7 @@ FlsAlloc(PFLS_CALLBACK_FUNCTION lpCallback)
|
||||
if (!NtCurrentTeb()->FlsData)
|
||||
{
|
||||
NtCurrentTeb()->FlsData = pFlsData;
|
||||
InitializeListHead(&Peb->FlsListHead);
|
||||
InsertTailList(&Peb->FlsListHead, &pFlsData->ListEntry);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user