bugThe FreeType Project - Bugs: bug #47567, memory leak in pfr_aux_name_load

 
 

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

bug #47567: memory leak in pfr_aux_name_load

Submitter:  Kostya Serebryany <kcc>
Submitted:  Tue 29 Mar 2016 09:13:34 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.6.4

Wed 30 Mar 2016 06:45:28 AM UTC, comment #1: 

Fixed in git, thanks.

Werner LEMBERG <wl>
Group administrator
Tue 29 Mar 2016 09:13:34 PM UTC, original submission:  

Applying libFuzzer (src/tools/ftfuzzer/ftfuzzer.cc)
to fonts from https://github.com/twardoch/test-fonts/
finds a memory leak.

Repro attached.

==19553==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 72 byte(s) in 9 object(s) allocated from:
    #0 0x4b79db in __interceptor_malloc
    #1 0x528dee in ft_mem_qalloc src/base/ftutil.c:76:15
    #2 0x528dee in ft_mem_alloc src/base/ftutil.c:55
    #3 0x66a237 in pfr_aux_name_load src/pfr/pfrload.c:756:12
    #4 0x66a237 in pfr_phy_font_load src/pfr/pfrload.c:922
    #5 0x66a237 in pfr_face_init src/pfr/pfrobjs.c:130
    #6 0x53a37b in open_face src/base/ftobjs.c:1177:15
    #7 0x5365a5 in FT_Open_Face src/base/ftobjs.c:2177:19
    #8 0x539c12 in FT_New_Memory_Face src/base/ftobjs.c:1267:12
    #9 0x4e5dfc in LLVMFuzzerTestOneInput

Kostya Serebryany <kcc>
Group Member

 

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

Attached Files
file #36795:  21afed2710e4c24a10685fe179cfd5112028b3c8 added by kcc (906B - 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
    2016-03-30 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.6.4
    2016-03-29 kcc Attached File- Added 21afed2710e4c24a10685fe179cfd5112028b3c8, #36795

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code