NVIDIAGameWorks / PhysX-3.4

NVIDIA PhysX SDK 3.4
https://www.nvidia.com/
2.34k stars 275 forks source link

Buffer overrun in Aggregate::computeBounds #116

Closed wankotank closed 4 years ago

wankotank commented 4 years ago

In Aggregate::computeBounds, Accessing PxBounds3 elements with V4LoadU causes buffer overrun.

Pierre-Terdiman commented 4 years ago

Do you have a repro? This should not happen because we explicitly allocate one more entry than strictly necessary in the bounds manager:

https://github.com/NVIDIAGameWorks/PhysX-3.4/blob/master/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h#L130

wankotank commented 4 years ago

Hi Pierre-Terdiman.

I'm sorry! It was occurred in a title using an old version. It does not occur in the latest version.