bugThe FreeType Project - Bugs: bug #46272, NULL deref in cid_read_subrs

 
 

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

bug #46272: NULL deref in cid_read_subrs

Submitter:  Kostya Serebryany <kcc>
Submitted:  Thu 22 Oct 2015 12:32:21 AM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.6.2

Thu 22 Oct 2015 07:26:27 AM UTC, comment #1: 

Fixed in git, thanks.

Werner LEMBERG <wl>
Group administrator
Thu 22 Oct 2015 12:32:21 AM UTC, original submission:  

Found by the libFuzzer bot:
http://107.178.217.50/FAIL-2015-10-21-16-19-56.log

==30107==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000007e3496 bp 0x7ffd9c3c6750 sp 0x7ffd9c3c6180 T0)
    #0 0x7e3495 in cid_read_subrs freetype2/src/cid/cidload.c:489:24
    #1 0x7e3495 in cid_face_open freetype2/src/cid/cidload.c:815
    #2 0x7e3495 in cid_face_init freetype2/src/cid/cidobjs.c:327
    #3 0x5c84d1 in open_face freetype2/src/base/ftobjs.c:1177:15
    #4 0x5c4ca6 in FT_Open_Face freetype2/src/base/ftobjs.c:2175:19
    #5 0x5c7d8c in FT_New_Memory_Face freetype2/src/base/ftobjs.c:1267:12
    #6 0x4eb4ef in LLVMFuzzerTestOneInput (fuzz_freetype/freetype2_fuzzer+0x4eb4ef)

repro attached.

Kostya Serebryany <kcc>
Group Member

 

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

Attached Files

 

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-22 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.6.2
    2015-10-22 kcc Attached File- Added CORPORA-ARTIFACTS-crash-a0d54b0bd76b24af5236af9e8a41bd73adb65afa, #35256

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code