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

 
 

bug #46272: NULL deref in cid_read_subrs

Submitted by:  Kostya Serebryany <kcc>
Submitted on:  Thu 22 Oct 2015 12:32:21 AM 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.

 

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

Fixed in git, thanks.

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

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

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 22 Oct 2015 07:26:27 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.2
    Thu 22 Oct 2015 12:32:21 AM UTCkccAttached File-=>Added CORPORA-ARTIFACTS-crash-a0d54b0bd76b24af5236af9e8a41bd73adb65afa, #35256

    Back to the top


    Powered by Savane 3.1-cleanup1