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 1 year ago

MysticalUnicat commented 1 year 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 1 year ago

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