The FreeType Project - Bugs: bug #54986, FT_Glyph_To_Bitmap returns an...
You are not allowed to post comments on this tracker with your current authentication level.
bug #54986: FT_Glyph_To_Bitmap returns an error when it shouldn't - #2
Submitter: | Sylvain <slvn> | ||
Submitted: | Thu 08 Nov 2018 01:18:54 PM UTC | ||
Severity: | 3 - Normal | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Planned Release: | 2.10.0 |
Jump to the original submission
Fri 16 Nov 2018 09:23:59 AM UTC, comment #13: |
Armin <cherusker> |
Fri 16 Nov 2018 07:20:46 AM UTC, comment #12: Just to let you know. I took the fonts from the previous link,
|
Sylvain <slvn> |
Tue 13 Nov 2018 02:25:23 PM UTC, comment #11: I think the stroker is the only module in freetype that creates new outlines. These two bugs found errors in this process. A failure in FT_Outline_Decompose is probably not something oss-fuss should care about.
|
Alexei Podtelezhnikov <podtelez> |
Tue 13 Nov 2018 11:46:45 AM UTC, comment #10: So it seems that `ITCAvantGardeStd-Demi.ttf' should actually be called `ITCAvantGardeStd-Demi.otf'.
|
Werner LEMBERG <wl> |
Tue 13 Nov 2018 10:22:29 AM UTC, comment #9: Thanks, I'll grab some font from the link.
|
Sylvain <slvn> |
Tue 13 Nov 2018 09:52:22 AM UTC, comment #8: We do have a few nifty specimen. Feel free to browse https://github.com/freetype/freetype2-testing/tree/master/fuzzing/corpora -- findings of OSS-Fuzz are marked with the respective issues they found; most of them would not produce meaningful graphical output however ;)
|
Armin <cherusker> |
Tue 13 Nov 2018 09:48:40 AM UTC, comment #7: Are you sure that `ITCAvantGardeStd-Demi.ttf' is a TrueType font? This is one of the core Adobe fonts, so I would expect it to be a Type 1 font...
|
Werner LEMBERG <wl> |
Tue 13 Nov 2018 09:32:09 AM UTC, comment #6: Thank for the links I didn't know those tools, it looks quite complicated for my purpose though.
|
Sylvain <slvn> |
Mon 12 Nov 2018 10:25:49 PM UTC, comment #5: Nope, the stroker is currently not under test (on a todo list however) but these two bugs are definitely a good motivation to add support for that soon :) |
Armin <cherusker> |
Fri 09 Nov 2018 02:46:57 PM UTC, comment #4: Are you familiar with off-fuzz and particularly freetype2-testing? AFAIK they did not test the stroker, where you found both bug #54976 and bug #54986.
|
Alexei Podtelezhnikov <podtelez> |
Fri 09 Nov 2018 02:13:36 PM UTC, comment #3: Thanks again, it fixes the issue.
|
Sylvain <slvn> |
Fri 09 Nov 2018 02:07:18 AM UTC, comment #2: Already committed. |
Alexei Podtelezhnikov <podtelez> |
Thu 08 Nov 2018 05:26:08 PM UTC, comment #1: You must be doing something scrupulous to find these bugs. Please continue testing.
|
Alexei Podtelezhnikov <podtelez> |
Thu 08 Nov 2018 01:18:54 PM UTC, original submission:
Maybe similar to bug #54976
|
Sylvain <slvn> |
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 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-11-09 | podtelez | Carbon-Copy | - | Added -email is unavailable- | |
2018-11-09 | podtelez | Status | Ready For Test | Fixed | |
Open/Closed | Open | Closed | |||
Planned Release | None | 2.10.0 | |||
2018-11-08 | podtelez | Status | None | Ready For Test | |
2018-11-08 | slvn | Attached File | - | Added ITCAvantGardeStd-Demi.ttf, #45385 | |
Attached File | - | Added bug_freetype_2.c, #45386 |
Powered by Savane 3.13-4b48.
Corresponding source code
Thanks for the reply; yes, some of these fonts are broken but it doesn't really matter since libFuzzer + co only use them as base for mutations.
Should you ever come across interesting/specific (small) sample fonts (spec. handcrafted + SIL licensed) other than TrueType, feel free to share them with us please, always looking for ways to challenge FreeType :)