Skip to content

Commit

Permalink
safety on possible mem overrun
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Apr 10, 2024
1 parent 962939d commit 07d4513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newton-4.00/sdk/dCollision/ndBvhNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class ndBvhNodeArray : public ndArray<ndBvhNode*>

ndUnsigned32 m_isDirty;
ndUnsigned32 m_scansCount;
ndUnsigned32 m_scans[256];
ndUnsigned32 m_scans[256 + 32];
};

class ndBvhSceneManager
Expand Down

0 comments on commit 07d4513

Please sign in to comment.