bugThe FreeType Project - Bugs: bug #45984, src/pshinter/pshglob.c:342:28:...

 
 

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

bug #45984: src/pshinter/pshglob.c:342:28: runtime error: signed integer overflow: 2 * 1279919630 cannot be represented in type 'int

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

Tue 29 Sep 2015 09:22:31 AM UTC, comment #1: 

Fixed in git, thanks.

Werner LEMBERG <wl>
Group administrator
Thu 17 Sep 2015 03:35:40 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/pshinter/pshglob.c:342:28: runtime error: signed integer overflow: 2 * 1279919630 cannot be represented in type 'int'

Af8IAQEBBAIAAQEBFkZGUVBJUistLWYebnQ1OTA0MDYtLQABAQFG+Bv4FCgMHvgBOwz4Hm8dA4sM
BDscBRzciPwFiNwHixsATEopAB1MSgYOHFp6DAv3uzsiHAkSDCQcASURHAEODCUcAOMPAAUBDVMI
AV1xOm91bmRlclBLVUUyQ29weXJpZ2h0KEMpIDE5OTUtOTE5NiBGb3VuZGVyIEdyb3VwIEdvcnBv
cjx0aW9uLiBBbGwgcme+dHMgcmVzj2VydmVkG0VaSC0tUEsxODdBQStBWkEtRUFIQQRQSzc0ODIw
NAAAAPAA8gD4AP8pAgEDAQ4BEAERARIBEwEUAxUqARYBGQEbARwBIAEhAAEiAQEIASi3CicAAQH/
CgMoIQGzQCcAAADQAQifAcMpjyinKiAoAYsBbTUoAf8IAQEABAI7AAEBARZGRlFQSSstZi1vAf8I
ASj3CicBAAEAAQABAQEoKQRudDA3NzLPMy0tADoBAUb4G9Mciwwe+B26KCknKSUhUFMtVHJ1ZVR5
cGVGb250CiUleXAlIUZvbnRUeXBlMS0xLjowIC9UVEE1QW8wMCtaRVZIUEUtIDAwMS4wMw0xMSBk
aWMgYmVlZ2luDS9Gf25iVHlwZSAxIGRlZg0vRh1udCdhdAH/CAEotwonAAEBAAEAAQEBKB0pIB0q
BEQnJSEhRm9udFR5cGUeLTEuMDogL1RUQTVBOW8wMCtaRVZIUEUtMSAfHjAxqPD6KTdiKS8qDAcs
KHJpeCBbMGUwLmVTCuChEihzMA0eMSBkaGMgYmVnaW4NL28nbnRUeWlvbjogMy46CnBlIDEpZGVm
DS9GKW50TWFUcml4yyBbMC4wMDEgMCAwGTAuMDAxIDAgMCAgcmVhZG9ubHkgZGVmDTAvRm90TmFt
ZSAvVFRBNUE5bzAwK1pFJSFGb250VHlwZTEtMS4wOiAvVFRBNUE5bzAwK0VQVlpIRS0xIDA0MVZI
UEUtMSBkZWYNL0ZvbnRCQm8uMDAzDTExIGRpYyBiZWdpbg0vRm9u

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-29 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