[*] Fix TLS thread index out of bounds access
This commit is contained in:
parent
f842573352
commit
9f59d4f921
@ -96,7 +96,7 @@ namespace Aurora::Threading::Threads
|
||||
if (uKey >= this->ptrs.size())
|
||||
{
|
||||
this->ptrs.reserve(uKey * 2);
|
||||
this->ptrs.resize(uKey);
|
||||
this->ptrs.resize(uKey + 1);
|
||||
}
|
||||
|
||||
auto &sharedRef = this->ptrs[uKey];
|
||||
|
Loading…
Reference in New Issue
Block a user