bugThe FreeType Project - Bugs: bug #46027, src/type1/t1load.c:1573:40:...

 
 

bug #46027: src/type1/t1load.c:1573:40: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'

Submitted by:  Kostya Serebryany <kcc>
Submitted on:  Tue 22 Sep 2015 04:10:09 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.6.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 29 Sep 2015 09:25:13 AM UTC, comment #1:

Thanks for the report. Since the number of glyphs is now compared to the file size, this bug can no longer happen in reality, thus closing.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 22 Sep 2015 04:10:09 PM UTC, original submission:

found on fresh git with libFuzzer+UBSan (on x86_64 Linux)
Feed the attached file to FT_New_Memory_Face

src/type1/t1load.c:1573:40: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'

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 #34952:  1c19f045cc38eab3a0c358031e211e3b2b84c7e9 added by kcc (4KiB - 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
    Tue 29 Sep 2015 09:25:13 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.1
    Tue 22 Sep 2015 04:10:09 PM UTCkccAttached File-=>Added 1c19f045cc38eab3a0c358031e211e3b2b84c7e9, #34952

    Back to the top


    Powered by Savane 3.1-cleanup1