bugThe FreeType Project - Bugs: bug #48166, 2Gb RAM is used in...

 
 

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

bug #48166: 2Gb RAM is used in _bdf_parse_start on a 1k input

Submitter:  Kostya Serebryany <kcc>
Submitted:  Tue 07 Jun 2016 09:15:53 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.6.4

Thu 09 Jun 2016 04:55:09 AM UTC, comment #1: 

Fixed in git, thanks for the report!

Werner LEMBERG <wl>
Group administrator
Tue 07 Jun 2016 09:15:53 PM UTC, original submission:  

Found by the libFuzzer bot.

    #7 0x52ea2b in ft_mem_alloc src/base/ftutil.c:58:7
    #8 0x52ea2b in ft_mem_qrealloc src/base/ftutil.c:146
    #9 0x52ea2b in ft_mem_realloc src/base/ftutil.c:102
    #10 0x65ea2a in _bdf_parse_start src/bdf/bdflib.c:1982:12
    #11 0x6552ce in _bdf_readstream src/bdf/bdflib.c:632:17
    #12 0x6552ce in bdf_load_font src/bdf/bdflib.c:2188
    #13 0x6552ce in BDF_Face_Init src/bdf/bdfdrivr.c:364
    #14 0x53a828 in open_face src/base/ftobjs.c:1177:15
    #15 0x537e8b in FT_Open_Face src/base/ftobjs.c:2192:19
    #16 0x53a26e in FT_New_Memory_Face src/base/ftobjs.c:1267:12
    #17 0x4e8581 in LLVMFuzzerTestOneInput src/tools/ftfuzzer/ftfuzzer.cc:196:10


Kostya Serebryany <kcc>
Group Member

 

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

Attached Files
file #37425:  oom-931c6a16eb957d7a6740030b01c0c1b6d76b0bb8 added by kcc (994B - application/octet-stream)

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-09 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.6.4
    2016-06-07 kcc Attached File- Added oom-931c6a16eb957d7a6740030b01c0c1b6d76b0bb8, #37425

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code