bugThe FreeType Project - Bugs: bug #45985, src/pcf/pcfread.c:1311:41: runtime...

 
 

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

bug #45985: src/pcf/pcfread.c:1311:41: runtime error: signed integer overflow: -35475362522895417 * -8256 cannot be represented in t

Submitter:  Kostya Serebryany <kcc>
Submitted:  Thu 17 Sep 2015 03:36:38 AM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.6.1

Thu 17 Sep 2015 02:23:36 PM UTC, comment #1: 

Fixed in git, thanks.

Werner LEMBERG <wl>
Group administrator
Thu 17 Sep 2015 03:36:38 AM UTC, original submission:  

Found on fresh git with libFuzzer+UBsan (on x86_64 Linux)
Build with -fsanitize=shift,signed-integer-overflow and feed the data below (in base64) into FT_New_Memory_Face



src/pcf/pcfread.c:1311:41: runtime error: signed integer overflow: -35475362522895417 * -8256 cannot be represented in type 'long'

AWZjcAkAAAABAAAADgAAANwAAACYAAAAAgAAAA4BAABkAAAAdAEAAAQAAAAOAQAAEAAAANgBAAAI
AAAADgAAAMAAAADoAQAAEAAAAA4BAAAQAAAAqAIAACAAAAAOAAAAFAAAALgCAABAAAAADgAAABAA
AADMAgAAgAAAAA4AAAAYAAAA3AIAAAARAAAOAQAAZAAAAPQCAAAOAAAAAAAACQAAAE0BAAAACgAA
ACUCAAAAZAAAAAEAMAAANQAAADsAAAAACgAAAEIAAAAAawAAAE0CAAAATgAAAFoBAAAATgAAAGcA
///wAAAHAAAAAAAAAAAAAAAHtPd25lcnNoaXAAIENyZWF0ZWQgYnkgJ2h1biBZZWUgRnVuZyAA
UE9JTlRfU0laRQBGT05UAGhleDIwAFdFSUdIVABSRVNPTFVUSU9OAFJFU09MVVRJT05fWABSRVNP
TFVUSU9OX1kAWF9IRUlHSFQAUVVBRF9XSURUSAAADgEAAAABAAEAAQAAAAAAAAAAABQAAAAUAAAA
FAAAAAAAFAAAAAAAFAAAAAD/FAAAAAAAFAAA//8AEwAAAAAAFAAAAAAAFAAAAAAAAAAAAAAAAAAA
AAAAAAD+////AAAAAAAAAA4BAAAAAoCUgICUgJSAgJQOAAAAAAAAAgAAAAAAAABQAAAAeAAAAKAA
AACgAAABQAAAAAAP/wAAD/8AAB//gAAf/4AAP//AAD//wAB//+AAf//gAP//8AD///AAf//gAH//
4AA//8AAP//AAB//gAAf/4AAD/8AAA//AAAAAAAAH/+AAB//gAAf/4AAP//AAD//wAB//+ABf//g
AP//8AD///AA///wAP//8AD///AA///wAH//4AB//+AAP//AAD//wAAf/4AAH/+AAB//gAAOAQAA
AAKAlIB/k4CUgICUDgAAAAB8AHwAAAA7ATsDAAAlIVBTLWJvQWRlRm9udC0xLjA6IEV1cm9zdGls
ZSAwMDEuMDAwDSUlQ3JlYXRpb25EYXRlOiBXZWQgU2VwIDIzIDEyOjA5OjAzIDE5ODcNJSVWTXVz
YWdlOiAxMjY0IDI3MjA1DUZvbnREaXJlY3RvcnkvRXVyb3N0aWxlIGtub3duey9FdXJvc3RpbCBm
aW5kZm9udC9VbmlxdWVJRCBnZXQNMTAzMjUgZXF7c2F2ZSB0cnVlfXtmYWxzZX1pZmVsc2V9e2Zh
bHNlfWlmZWxzZQ0xMSBkaWN0IGJlZ2klIVBTLUFkb2JlRm9udC0xT1RUTyUhUFMtVHJ1ZVR5cGVG
b250CiUleXBlU3Npb247IDMuOjAzQTQzIDIwMTAKJSVDcmVhdG9yOiBSb2JvbnROYW1lIC8g

Kostya Serebryany <kcc>
Group Member

 

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

No files currently attached

 

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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-09-17 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.6.1

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code