bugThe FreeType Project - Bugs: bug #46372, slow run in TT_RunIns (#2)

 
 

bug #46372: slow run in TT_RunIns (#2)

Submitted by:  Kostya Serebryany <kcc>
Submitted on:  Tue 03 Nov 2015 07:23:55 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.6.2

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 04 Nov 2015 04:17:28 PM UTC, comment #3:

The bot is much happier now, thanks!
before:
Done 256128 runs in 7201 second(s)
after:
Done 790478 runs in 7201 second(s)

Kostya Serebryany <kcc>
Project Member
Wed 04 Nov 2015 10:50:04 AM UTC, comment #2:

Should be improved in git, please test. As far as I can see, no further `shortcut' is possible.

In the test fonts, we have composite glyphs with infinite recursion. And to make things worse, the glyph referenced in the composite glyphs contains an infinite bytecode loop. In other words, those invalid fonts are possibly the absolute worst case that can ever happen.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 03 Nov 2015 07:25:43 PM UTC, comment #1:

one more input attached

(file #35376)

Kostya Serebryany <kcc>
Project Member
Tue 03 Nov 2015 07:23:55 PM UTC, original submission:

Found by the libFuzzer bot.
despite the fixes in bug #46223, the bot still observes
cases where a single input takes over 60 seconds to process,
all time is spent inside TT_RunIns.
This has put the fuzzer bot on its knees again :(

If a fix is not possible (not yeasy, etc) any workaround would be welcome.

Kostya Serebryany <kcc>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by kcc (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Nov 2015 10:50:04 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.2
    Tue 03 Nov 2015 07:25:43 PM UTCkccAttached File-=>Added slow-unit-f643f9ba31dc673381848417001b0d9841895f3f, #35376
    Tue 03 Nov 2015 07:23:55 PM UTCkccAttached File-=>Added slow-unit-566c4cb14b2027e7b2bc28834ca553cef2ffac31, #35375

    Back to the top


    Powered by Savane 3.1-cleanup1