mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
The only guard against writing past the fixed 65536-entry verts_ array was _dbg_assert_msg_, which is compiled out entirely outside _DEBUG - a large enough single batch (e.g. Circle()/CircleSegment() with a big segment count, or a large UI list without an intervening Flush()) silently corrupted the heap in release builds. Added a real bounds check that drops the vertex instead. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01L4QAoxV2KY7ek4PcZw3WvY