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

 
 

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

Submitted by:  Kostya Serebryany <kcc>
Submitted on:  Tue 07 Jun 2016 09:15:53 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.6.4

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

Fixed in git, thanks for the report!

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 09 Jun 2016 04:55:09 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.4
    Tue 07 Jun 2016 09:15:53 PM UTCkccAttached File-=>Added oom-931c6a16eb957d7a6740030b01c0c1b6d76b0bb8, #37425

    Back to the top


    Powered by Savane 3.1-cleanup1