Skip to content

Add range check for glyph buffer.

PabloMK7 requested to merge fontcheck into develop

Some custom fonts with unexpected sizes can cause the writes to the glyph buffer be out of bounds, which will cause heap corruption. Adding a range check fixes this. (Will still produce corrupted text, but at least heap corruption won't happen)

Merge request reports