You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(data): Sanitize GlobalData values after reading INI data
Clamp m_numGlobalLights to [0, MAX_GLOBAL_LIGHTS] and floor
allocation-size fields to prevent out-of-bounds array access
and undefined behavior from bad INI values. Cap m_maxRoadVertex
and m_maxRoadIndex to 65531 (16-bit DX8 buffer limit minus 4
headroom) and m_maxTankTrackEdges to MAX_TRACK_EDGE_COUNT.
0 commit comments