Skip to content

Raise TEXTMAP parser limits

Lactozilla requested to merge raise-textmap-parser-limits into next

The TEXTMAP parser does not handle the situation where there are more than 65536 blocks of a given map structure in a file; it ignores all instances beyond that number, and causes buffer overflows. This PR allocates a specific initial size for the lists that store the positions of the blocks, and reallocates them as needed.

Merge request reports