Skip to content

Avoid UB pointer arithmetic in T1 parsing

Ben Wagner requested to merge bungeman/freetype:t1_truncated_size into master

Check that the parser cursor is not already at the limit before creating a pointer to one after it. This allows for safely skipping the 'white' only if it is actually present.

Bug: https://crbug.com/1258839

Merge request reports