qbism / q2tools-220

Quake 2 map compiler tools with v220 map support, automatic phong, enhancements, and fixes.
GNU General Public License v2.0
61 stars 20 forks source link

patch transfers index size #29

Closed MysticalUnicat closed 2 years ago

MysticalUnicat commented 2 years ago

transfer_t uses uint16_t for patch index, but patch limit was increased for qbsp. this could overflow for large qbsp maps.

qbism commented 2 years ago

Corrected with https://github.com/qbism/q2tools-220/commit/a417f3895ea2f62344e819b178d3f123c387d501