multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.3k stars 412 forks source link

Fix createBuilding crash after engineSetPoolCapacity #3470

Closed TheNormalnij closed 1 week ago

TheNormalnij commented 2 weeks ago

Fixes the missing resize operation for m_buildingPool. It was causing out-of-buffer writing and random crash.