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


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

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

Submitter:  Kostya Serebryany <kcc>
Submitted:  Thu 08 Oct 2015 11:35:06 PM UTC
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.6.2

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

Fixed in git.  Thanks for the report.

Werner LEMBERG <wl>
Group administrator
Fri 09 Oct 2015 12:45:03 AM UTC, comment #1: 

This happens in 64-bit mode as well.

Kostya Serebryany <kcc>
Group 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>
Group Member


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

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
  • -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
    2015-10-10 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.6.2
    2015-10-08 kcc Attached File- Added crash-f29e1ef48a39ac1ed41897b40b654118761c1574, #35112

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code