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

 
 

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

Submitted by:  Kostya Serebryany <kcc>
Submitted on:  Tue 22 Dec 2015 06:59:27 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.6.3

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Member
Tue 22 Dec 2015 11:06:36 AM UTC, comment #2:

Fixed now in git, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by kcc (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Dec 2015 11:06:36 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.3
    Tue 22 Dec 2015 06:59:27 AM UTCkccAttached File-=>Added CORPORA-C1-500a0e47c4fb029202a62d1a38c92eca67273202, #35830

    Back to the top


    Powered by Savane 3.1-cleanup1