PhysX icon indicating copy to clipboard operation
PhysX copied to clipboard

Fix for Heap corruption in ExtendedBucketPruner

Open karl-zylinski-ourmachinery opened this issue 2 years ago • 0 comments

Fix for heap corruption in ExtendedBucketPruner due to missing parenthesis when allocating memory.

The swapMap is written to like this swapMap[mCurrentTreeIndex] = i; a few lines below the allocation, which will write 3 bytes outside of the allocated memory due to the missing parenthesis.