bugThe FreeType Project - Bugs: bug #45983, src/pcf/pcfread.c:1294:51: runtime...

 
 

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

bug #45983: src/pcf/pcfread.c:1294:51: runtime error: left shift of negative value -9616

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

Fri 18 Sep 2015 05:17:37 PM UTC, comment #2: 

This one is gone, thanks!

Kostya Serebryany <kcc>
Group Member
Thu 17 Sep 2015 11:43:45 AM UTC, comment #1: 

Thanks for the report.  Should be fixed in git, please test.

Werner LEMBERG <wl>
Group administrator
Thu 17 Sep 2015 03:34:46 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:1294:51: runtime error: left shift of negative value -9616


AWZjcAgAAAABAAAADgAAAOgCAACIAAAAAgAAAA4AAABkAAAAcAMAAAQAAAAOAQAAOAAAANQDAAAI
AAAADgAAAMgBAAAMBAAAIAAAAA4AAAC4AAAA1AUAAEAAAAAOAAAAMAAAAIwGAACAAAAADgAAAGgA
AAC8BgAAAAEAAA4AAABkAAAAJAcAAA4AAAAAAAAWAAAAAAEAAAAIAAAAEQAAAAAdAAAALgEAAAA6
AAAAQgBIAQAAAAAASgEAAABYAAAAX24AAAEAAAAAbyAAAAARAAAAegAAAAB4AAAAhQAAAABkAAAA
kgAAAABkAAAAnwEAAACnAAAAqQAAAAA2AAAAtwEAAADIAAAA0QEAAADiAAAA5AEAAADuAAABVAEA
AAEXAAABfgEAAAGKAAABmwEAAAGgAAAB7AAAAAAKAAAB8wAAAACKAAAB/gAAAAAAAAACBwAAAAAG
AAAAAAISRk9VTkRSWQBGcmVlVHlwZQBGQU1JTFlfTkFNRQBIYWV0ZW50c2Nod2VpbGVyAFdF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AAADdgAAAyYAAAMmAAABw
AAAA2AAAANgAAAAYAAAAOAAAAPgAAADYAAAA2AAAANgAAAB4AAAAGAAAABgAAAB4AAAA2AAAANgA
AADYAAAA2AAAANgAAADYAAAA2AAAANgAAAB4AAAAcAAAANgAAADYAAAA2AAAANgAAAD4AAAAwAAA
ANgAAADYAAAAcAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAAwAAAAMAAAADAAAAA
wAAAAP4AAADbAAAA2wAAANsAAADbAAAA2wAAANsAAADbAAAA2wAAANsAAABwAAAA2AAAANgAAADY
AAAA2AAAANgAAADYAAAA2AAAANgAAABwAAAAcAAAANgAAADYAAAAwAAAAHAAAAA4AAAAGAAAANgA
AADYAAAAcAAAAA4AAAAAIABzAAAAAAAAAAD///////////////////////////////7/////////
//////////////////////////////////////////////////////AAH///////////////8A
Av//////////////////////////////////////////////////AAP/////AAQABf//////////
///wAGAAf//wAI////////AAkAAA4AAAAAAAAKAAA7ALQAAAEsAAACWAAAAWgAAAFoAAABaAAA
ALQAAAIcAAABaAAAAWgOAAAnAAAACgAAAAAAAAAFAAAACgAAAA8AAAAUAAAAGQAAAB4AAAAjAAAA
KAAAAC0AAAAyMDAyMAAwMDQ2ADAwNEQAMDA2MQAwMDY0ADAwNjUAMDA2QwAwMDZEADAwNkYAMDA3
MwAAAA4AAAABAAAAAQAAAAAAAA4AAAAC/////wAAAAAAAwAAAAAAAAAAAAkACgAMAAAAAA==

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