bugThe FreeType Project - Bugs: bug #40797, Various programs crash in...

 
 

bug #40797: Various programs crash in TT_Load_Simple_Glyph with freetype 2.5.1

Submitted by:  Ryan Schmidt <ryandesign>
Submitted on:  Wed 04 Dec 2013 12:07:33 AM UTC  
 
Severity: 4 - ImportantItem Group: Crash
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.5.2

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 04 Dec 2013 06:21:18 AM UTC, comment #4:

Thanks, I've applied it.

Ryan Schmidt <ryandesign>
Wed 04 Dec 2013 05:55:30 AM UTC, comment #3:

Cherry-pixking this specific commit should work.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Wed 04 Dec 2013 05:43:41 AM UTC, comment #2:

Thanks. Can I just integrate that patch into our freetype port, or do I need additional changes to make it work? I'd rather cherry-pick specific commits than upgrade to your latest code wholesale.

Ryan Schmidt <ryandesign>
Wed 04 Dec 2013 05:33:57 AM UTC, comment #1:

I guess this is related to a bug which I've introduced in 2.5.1, and which I've fixed recently:

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=64872a50165d842d72c520f5f7e19124dbf7822d

I will do a new release of FreeType within a few days. Until then, I recommend to downgrade if the problematic font can't be identified, or to upgrade to the current git.

PS: On a Windows 7 box, a font causing a crash is `ahronbd.ttf' (it is not fully valid due to an invalid `maxSizeOfInstructions' field in the `maxp' table).

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Wed 04 Dec 2013 12:07:33 AM UTC, original submission:

I am the maintainer of freetype in MacPorts. After upgrading freetype in MacPorts to 2.5.1, various programs crash in TT_Load_Simple_Glyph:

https://trac.macports.org/ticket/41599 (inkscape)
https://trac.macports.org/ticket/41645 (fontconfig's fc-cache)
https://trac.macports.org/ticket/41651 (emacs)
https://trac.macports.org/ticket/41655 (fontconfig's fc-list)
https://trac.macports.org/ticket/41671 (various gtk-based programs)

I cannot reproduce the crash on my system and I don't know what to do; please advise.

Ryan Schmidt <ryandesign>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gagern
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by ryandesign (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 Dec 2013 05:47:39 AM UTCgagernCarbon-Copy-=>Added gagern
    Wed 04 Dec 2013 05:34:40 AM UTCwlPlanned ReleaseNone=>2.5.2
    Wed 04 Dec 2013 05:33:57 AM UTCwlSeverity3 - Normal=>4 - Important
      StatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1