The FreeType Project - Bugs: bug #46313, Malformed pfr font spends much...
You are not allowed to post comments on this tracker with your current authentication level.
bug #46313: Malformed pfr font spends much time in af_latin_hints_link_segments.
Submitter: | bungeman <bungeman> | ||
Submitted: | Wed 28 Oct 2015 03:51:42 PM UTC | ||
Severity: | 3 - Normal | Item Group: | None |
Status: | Invalid | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Closed |
Planned Release: | None |
Wed 28 Oct 2015 06:40:54 PM UTC, comment #1: |
Werner LEMBERG <wl> |
Wed 28 Oct 2015 03:51:42 PM UTC, original submission:
Found with libFuzzer, reproduction attached.
|
bungeman <bungeman> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-10-28 | wl | Item Group | Wishlist | None | |
Status | None | Invalid | |||
Assigned to | None | wl | |||
Open/Closed | Open | Closed | |||
2015-10-28 | bungeman | Attached File | - | Added d2a8692b5b7453ef780108255b293e75014ea950, #35326 |
Powered by Savane 3.13-4448.
Corresponding source code
I've downloaded the original, unmodified file `AssLtts13.pfr', and it is indeed an abnormal font: The `.notdef' glyph (showing a lion in Assyrian style) has 4229 points!
Due to the fact that the fuzzer changes the internal scaling factor from 0.03 to 8 in your sample file, increasing the glyph sizes by a factor of 256, you get 576 horizontal segments instead of 30 in the original font, for example.
In other words, slow processing is expected for this malformed font, and I don't think we have a bug here. Maybe you shouldn't use those Assyrian fonts for fuzzing...