diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-07 00:01:33 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-07 00:01:33 +0300 |
commit | a330095650b9e9d8aeb4f43faf5212d624f78953 (patch) | |
tree | 246c075d0568f6c1374b534997a7a73adea19b65 /indra/llmath | |
parent | 9a8ab9592d851ad5679b75940600f4e536736ad0 (diff) |
SL-16793 Potential crash at createSide
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llvolume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index 47c4977afd..2b23325bff 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -6821,7 +6821,7 @@ BOOL LLVolumeFace::createSide(LLVolume* volume, BOOL partial_build) LLVector4a* norm = mNormals; - static LLAlignedArray<LLVector4a, 64> triangle_normals; + static thread_local LLAlignedArray<LLVector4a, 64> triangle_normals; try { triangle_normals.resize(count); |