bugThe FreeType Project - Bugs: bug #46744, leak in t1_load_keyword...

 
 

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

bug #46744: leak in t1_load_keyword src/type1/t1load.c:952:7

Submitter:  Kostya Serebryany <kcc>
Submitted:  Tue 22 Dec 2015 06:59:27 AM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.6.3

Mon 04 Jan 2016 04:58:27 PM UTC, comment #3: 


>> is there a possibility to directly download a file that is triggering a bot failure?


Not yet. You need to have read access to the bucket
and I can't give it to you yet.

Kostya Serebryany <kcc>
Group Member
Tue 22 Dec 2015 11:06:36 AM UTC, comment #2: 

Fixed now in git, thanks.

Werner LEMBERG <wl>
Group administrator
Tue 22 Dec 2015 08:03:07 AM UTC, comment #1: 

Will check this soon, thanks.  BTW, is there a possibility to directly download a file that is triggering a bot failure?  I had already seen the bot logfile before you've reported this bug...

Werner LEMBERG <wl>
Group administrator
Tue 22 Dec 2015 06:59:27 AM UTC, original submission:  

found by libFuzzer bot using new inputs provided by Werner

==23642==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x4c9a18 in __interceptor_malloc /home/kcc/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40
    #1 0x5335be in ft_mem_qalloc src/base/ftutil.c:76:15
    #2 0x5335be in ft_mem_alloc src/base/ftutil.c:55
    #3 0x5ed2c7 in t1_load_keyword src/type1/t1load.c:952:7
    #4 0x5ed2c7 in parse_dict src/type1/t1load.c:2105
    #5 0x5d897b in T1_Open_Face src/type1/t1load.c:2216:13
    #6 0x5d897b in T1_Face_Init src/type1/t1objs.c:342
    #7 0x5449c1 in open_face src/base/ftobjs.c:1178:15
Indirect leak of 1928 byte(s) in 1 object(s) allocated from:
    #0 0x4c9a18 in __interceptor_malloc /home/kcc/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40
    #1 0x538f24 in ft_mem_qalloc src/base/ftutil.c:76:15
    #2 0x538f24 in ft_mem_alloc src/base/ftutil.c:55
    #3 0x538f24 in ft_mem_qrealloc src/base/ftutil.c:146
    #4 0x538f24 in ft_mem_realloc src/base/ftutil.c:102
    #5 0x538f24 in ft_hash_init src/base/fthash.c:188
Indirect leak of 48 byte(s) in 3 object(s) allocated from:
    #0 0x4c9a18 in __interceptor_malloc /home/kcc/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40
    #1 0x539cf0 in ft_mem_qalloc src/base/ftutil.c:76:15
    #2 0x539cf0 in ft_mem_alloc src/base/ftutil.c:55
    #3 0x539cf0 in hash_insert src/base/fthash.c:227
    #4 0x5f347d in parse_subrs src/type1/t1load.c:1530:9
    #5 0x5ed2c7 in t1_load_keyword src/type1/t1load.c:952:7
    #6 0x5ed2c7 in parse_dict src/type1/t1load.c:2105
    #7 0x5d897b in T1_Open_Face src/type1/t1load.c:2216:13
    #8 0x5d897b in T1_Face_Init src/type1/t1objs.c:342
    #9 0x5449c1 in open_face src/base/ftobjs.c:1178:15

Kostya Serebryany <kcc>
Group Member

 

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

Attached Files

 

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-12-22 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.6.3
    2015-12-22 kcc Attached File- Added CORPORA-C1-500a0e47c4fb029202a62d1a38c92eca67273202, #35830

    Back to the top

    Powered by Savane 3.14-d582.
    Corresponding source code