bugThe FreeType Project - Bugs: bug #45961, FT_New_Memory_Face consumes 6Gb+

 
 

bug #45961: FT_New_Memory_Face consumes 6Gb+

Submitted by:  Kostya Serebryany <kcc>
Submitted on:  Mon 14 Sep 2015 04:31:05 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.6.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 15 Sep 2015 04:49:59 AM UTC, comment #1:

Fixed in git, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 14 Sep 2015 04:31:05 PM UTC, original submission:

found on fresh git with libFuzzer+UBSan
Feed the data below (base64-encoded) into FT_New_Memory_Face,
it will take long time and consume over 6Gb of RAM.

Stack:
#4 0x000000000040fde5 in ft_mem_qalloc
#5 0x000000000040fe68 in ft_mem_alloc
#6 0x0000000000468a18 in reallocate_t1_table
#7 ps_table_add
#8 0x0000000000423ef5 in parse_encoding
#9 0x000000000042500c in t1_load_keyword
#10 parse_dict
#11 0x00000000004278d1 in T1_Open_Face
#12 0x00000000004284e5 in T1_Face_Init

I think this is different from #45919

JSFGb250VHlwZTEtMS4wOiAvVFRBNUE5bzAwK1pFVkhQRS0xIDAwMC4wMw0xMSBkaWN0IGJlZ2lv
bm4NRi90VHlwZSAxIGRlZg0vOkZvbnRNYXRy5HggWzAuMDAxIDAgMCAwLjAwMSAwIDBdIHJlYWRv
bmx5IGRlZg0vRm9udE5hbWUgL1RUQTVBOW8wMCtaRVZIUEUtMSBkZWYNLwZvbnRCQm94IHswIDAg
MCAwfSByZWFkb25seSBkZWYNL1BhaW50VHlwZSAwIGRlUy8NdGZyb2tlaVdkdGggIDBm5WRlDS9F
bmNvZGluZyAgMzUjNTFycmF5IDAgIDI15iB7

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:
   

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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 15 Sep 2015 04:49:59 AM UTCwlAssigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.1
    Tue 15 Sep 2015 04:49:58 AM UTCwlStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1