bugThe FreeType Project - Bugs: bug #37936, memory leak in tt_face_load_gasp

 
 

bug #37936: memory leak in tt_face_load_gasp

Submitted by:  None
Submitted on:  Sun 16 Dec 2012 05:22:01 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.4.11

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 17 Dec 2012 07:18:12 PM UTC, comment #2:

Thanks for the speedy fix. This works just as well.

Anonymous
Sun 16 Dec 2012 06:09:29 PM UTC, comment #1:

Thanks for the report; I fixed it a bit differently, please test.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sun 16 Dec 2012 05:22:01 PM UTC, original submission:

From http://code.google.com/p/sumatrapdf/source/browse/trunk/ext/_patches/freetype2.patch :

For broken TrueType fonts, it's possible that FT_FRAME_ENTER fails in tt_face_load_gasp thus leaking the gaspranges array allocated in the same conditional.

Anonymous

 

(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 wl (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 16 Dec 2012 06:09:29 PM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.4.11

    Back to the top


    Powered by Savane 3.1-cleanup1