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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #45961: FT_New_Memory_Face consumes 6Gb+

Submitter:  Kostya Serebryany <kcc>
Submitted:  Mon 14 Sep 2015 04:31:05 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.6.1

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

Fixed in git, thanks.

Werner LEMBERG <wl>
Group administrator
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>
Group Member

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2015-09-15 wl Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.6.1
    2015-09-15 wl StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code