bugThe FreeType Project - Bugs: bug #46162, NULL deref in pcf_read_TOC (32...

 
 

bug #46162: NULL deref in pcf_read_TOC (32 mode)

Submitted by:  Kostya Serebryany <kcc>
Submitted on:  Thu 08 Oct 2015 11:35:06 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.6.2

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 10 Oct 2015 04:56:56 AM UTC, comment #2:

Fixed in git. Thanks for the report.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Fri 09 Oct 2015 12:45:03 AM UTC, comment #1:

This happens in 64-bit mode as well.

Kostya Serebryany <kcc>
Project Member
Thu 08 Oct 2015 11:35:06 PM UTC, original submission:

found with libFuzzer.
Feed the input to src/tools/ftfuzzer/ftfuzzer.cc
==24709==ERROR: AddressSanitizer: SEGV on unknown address 0x0000000c (pc 0x082b4a12 bp 0xffc105d8 sp 0xffc10440 T0)
#0 0x82b4a11 in pcf_read_TOC src/pcf/pcfread.c:146:24
#1 0x82b4a11 in pcf_load_font src/pcf/pcfread.c:1191
#2 0x82b09fc in PCF_Face_Init src/pcf/pcfdrivr.c:335:15
#3 0x814a671 in open_face src/base/ftobjs.c:1166:15
#4 0x8146634 in FT_Open_Face src/base/ftobjs.c:2164:19
#5 0x8149ed4 in FT_New_Memory_Face src/base/ftobjs.c:1256:12

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 #35112:  crash-f29e1ef48a39ac1ed41897b40b654118761c1574 added by kcc (5KiB - 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
    Sat 10 Oct 2015 04:56:56 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.2
    Thu 08 Oct 2015 11:35:06 PM UTCkccAttached File-=>Added crash-f29e1ef48a39ac1ed41897b40b654118761c1574, #35112

    Back to the top


    Powered by Savane 3.1-cleanup1