bugThe FreeType Project - Bugs: bug #45989, leak in t42_parse_charstrings

 
 

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

bug #45989: leak in t42_parse_charstrings

Submitter:  Kostya Serebryany <kcc>
Submitted:  Thu 17 Sep 2015 04:21:19 PM 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 05:31:18 PM UTC, comment #1: 

Fixed in git, thanks.

Werner LEMBERG <wl>
Group administrator
Thu 17 Sep 2015 04:21:19 PM UTC, original submission:  

found on fresh git with libFuzzer+AddressSanitizer
Feed the attached file into FT_New_Memory_Face:

==1088==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 1032 byte(s) in 1 object(s) allocated from:
    #0 0x4abe6b in malloc
    #1 0x4f9a8f in ft_mem_qalloc src/base/ftutil.c:76:15
    #2 0x4f9a8f in ft_mem_alloc src/base/ftutil.c:55
    #3 0x4f9a8f in ft_mem_qrealloc src/base/ftutil.c:146
    #4 0x639caa in ps_table_new src/psaux/psobjs.c:77:10
    #5 0x5980b9 in t42_parse_charstrings src/type42/t42parse.c:844:13



Kostya Serebryany <kcc>
Group Member

 

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

Attached Files
file #34909:  a952f93c5a76504572ee12820202cb1d21a9c5fc added by kcc (24KiB - application/octet-stream)

 

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 5 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
    2015-09-17 kcc Attached File- Added a952f93c5a76504572ee12820202cb1d21a9c5fc, #34909

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code