bugThe FreeType Project - Bugs: bug #35641, Out-of-bounds write in...

 
 

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

bug #35641: Out-of-bounds write in _bdf_parse_glyphs

Submitter:  Mateusz Jurczyk <j00ru>
Submitted:  Mon 27 Feb 2012 12:16:12 PM UTC
   
 
Severity:  3 - Normal Item Group:  Crash
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.4.9

Thu 01 Mar 2012 08:31:14 PM UTC, comment #1: 

Fixed in git, thanks.

Werner LEMBERG <wl>
Group administrator
Mon 27 Feb 2012 12:16:12 PM UTC, original submission:  

Crash tested with ftbench (current git branch of freetype2 and ft2demos), compiled under Ubuntu amd64 with AddressSanitizer (http://code.google.com/p/address-sanitizer/).

Crashlog:

=================================================================
==17705== ERROR: AddressSanitizer heap-buffer-overflow on address 0x7f76cc4f005a at pc 0x572867 bp 0x7fff2ef17650 sp 0x7fff2ef17648
WRITE of size 2 at 0x7f76cc4f005a thread T0
  #0 0x572867 _bdf_parse_glyphs
  #1 0x56b116 _bdf_readstream
  #2 0x5692b9 bdf_load_font
  #3 0x56634d BDF_Face_Init
  #4 0x4912d0 open_face
  #5 0x490893 FT_Open_Face
  #6 0x48fbf6 FT_New_Face
  #7 0x487407 get_face
  #8 0x487b61 main
  #9 0x7f76ce955d5d __libc_start_main
0x7f76cc4f005a is located 38 bytes to the left of 10696-byte region [0x7f76cc4f0080,0x7f76cc4f2a48)
allocated by thread T0 here:
  #0 0x5c3d92 malloc
  #1 0x4a0ce4 ft_mem_qalloc
  #2 0x48b28f ft_mem_alloc
  #3 0x4a38c2 ft_mem_qrealloc
  #4 0x48bb8d ft_mem_realloc
  #5 0x570712 _bdf_parse_glyphs
  #6 0x56b116 _bdf_readstream
  #7 0x5692b9 bdf_load_font
  #8 0x56634d BDF_Face_Init
  #9 0x4912d0 open_face
  #10 0x490893 FT_Open_Face
  #11 0x48fbf6 FT_New_Face
  #12 0x487407 get_face
  #13 0x487b61 main
  #14 0x7f76ce955d5d __libc_start_main
==17705== ABORTING
Stats: 0M malloced (0M for red zones) by 825 calls
Stats: 0M realloced by 3 calls
Stats: 0M freed by 31 calls
Stats: 0M really freed by 0 calls
Stats: 40M (10246 full pages) mmaped in 10 calls
  mmaps   by size class: 8:16383; 9:8191; 10:4095; 11:2047; 12:1024; 13:512; 14:256; 15:128; 19:8; 20:4;
  mallocs by size class: 8:788; 9:16; 10:7; 11:6; 12:3; 13:1; 14:1; 15:1; 19:1; 20:1;
  frees   by size class: 8:18; 9:3; 10:6; 11:2; 12:1; 13:1;
  rfrees  by size class:
Stats: malloc large: 2 small slow: 9
Shadow byte and word:
  0x1feed989e00b: fa
  0x1feed989e008: fa fa fa fa fa fa fa fa
More shadow bytes:
  0x1feed989dfe8: fa fa fa fa fa fa fa fa
  0x1feed989dff0: fa fa fa fa fa fa fa fa
  0x1feed989dff8: fa fa fa fa fa fa fa fa
  0x1feed989e000: fa fa fa fa fa fa fa fa
=>0x1feed989e008: fa fa fa fa fa fa fa fa
  0x1feed989e010: 00 00 00 00 00 00 00 00
  0x1feed989e018: 00 00 00 00 00 00 00 00
  0x1feed989e020: 00 00 00 00 00 00 00 00
  0x1feed989e028: 00 00 00 00 00 00 00 00

Crashlog from Valgrind:

==17586== Memcheck, a memory error detector
==17586== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==17586== Using Valgrind-3.8.0.SVN and LibVEX; rerun with -h for copyright info
==17586== Command: ./ftbench tmp/freetype_run2/10x20gmb.bdf.asan.37.6
==17586==
==17586== Invalid write of size 2
==17586==    at 0x453313: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1806)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298da is 38 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x45336A: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1815)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298da is 38 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 2
==17586==    at 0x453384: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1814)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298d8 is 40 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 2
==17586==    at 0x45341D: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1831)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298dc is 36 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 2
==17586==    at 0x45344B: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1832)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298de is 34 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 2
==17586==    at 0x453477: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1833)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e0 is 32 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 2
==17586==    at 0x4534A3: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1834)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e2 is 30 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x4534AB: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1837)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298de is 34 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x4534B3: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1837)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e2 is 30 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 2
==17586==    at 0x4534C0: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1837)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e4 is 28 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x4534C8: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1838)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e2 is 30 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 2
==17586==    at 0x4534D4: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1838)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e6 is 26 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x4534E4: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1842)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e4 is 28 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x453502: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1843)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e6 is 26 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x453518: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1845)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298dc is 36 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x453520: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1845)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e0 is 32 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x45355B: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1848)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e0 is 32 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x453579: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1849)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e0 is 32 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x453600: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1865)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298da is 38 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x45361C: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1870)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298d8 is 40 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x45379A: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1904)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298dc is 36 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 8
==17586==    at 0x4537C3: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1904)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298f0 is 16 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 8
==17586==    at 0x4537CB: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1906)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298f0 is 16 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x4537D3: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1906)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298de is 34 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 2
==17586==    at 0x45381B: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1914)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298f8 is 8 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x453839: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1916)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298f8 is 8 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid write of size 8
==17586==    at 0x45386D: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1916)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e8 is 24 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x452F3F: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1722)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298de is 34 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 8
==17586==    at 0x452FB1: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1736)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298f0 is 16 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 8
==17586==    at 0x452FC0: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1737)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298e8 is 24 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 8
==17586==    at 0x452FD0: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1737)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298f0 is 16 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x4530C5: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1760)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298dc is 36 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
==17586== Invalid read of size 2
==17586==    at 0x4530EB: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1761)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==    by 0x40808C: FT_New_Face (freetype2/src/base/ftobjs.c:1215)
==17586==    by 0x402302: get_face (ft2demos-2.4.8/src/ftbench.c:624)
==17586==    by 0x4025F4: main (ft2demos-2.4.8/src/ftbench.c:752)
==17586==  Address 0x57298dc is 36 bytes before a block of size 10,696 alloc'd
==17586==    at 0x4C2A4D6: malloc (coregrind/m_replacemalloc/vg_replace_malloc.c:263)
==17586==    by 0x49441F: ft_alloc (freetype2/src/base/ftsystem.c:74)
==17586==    by 0x413466: ft_mem_qalloc (freetype2/src/base/ftutil.c:76)
==17586==    by 0x4133EE: ft_mem_alloc (freetype2/src/base/ftutil.c:55)
==17586==    by 0x413626: ft_mem_qrealloc (freetype2/src/base/ftutil.c:145)
==17586==    by 0x4134EB: ft_mem_realloc (freetype2/src/base/ftutil.c:101)
==17586==    by 0x452722: _bdf_parse_glyphs (freetype2/src/bdf/bdflib.c:1524)
==17586==    by 0x4511FA: _bdf_readstream (freetype2/src/bdf/bdflib.c:765)
==17586==    by 0x454D69: bdf_load_font (freetype2/src/bdf/bdflib.c:2367)
==17586==    by 0x4560D8: BDF_Face_Init (freetype2/src/bdf/bdfdrivr.c:367)
==17586==    by 0x407F6F: open_face (freetype2/src/base/ftobjs.c:1153)
==17586==    by 0x4097F3: FT_Open_Face (freetype2/src/base/ftobjs.c:2080)
==17586==
_bdf_parse_glyphs: [line 772] Invalid keyword.
couldn't load font resource
==17586==
==17586== HEAP SUMMARY:
==17586==     in use at exit: 180 bytes in 1 blocks
==17586==   total heap usage: 251 allocs, 250 frees, 895,861 bytes allocated
==17586==
==17586== LEAK SUMMARY:
==17586==    definitely lost: 180 bytes in 1 blocks
==17586==    indirectly lost: 0 bytes in 0 blocks
==17586==      possibly lost: 0 bytes in 0 blocks
==17586==    still reachable: 0 bytes in 0 blocks
==17586==         suppressed: 0 bytes in 0 blocks
==17586== Rerun with --leak-check=full to see details of leaked memory
==17586==
==17586== For counts of detected and suppressed errors, rerun with: -v
==17586== ERROR SUMMARY: 150 errors from 33 contexts (suppressed: 4 from 4)

Mateusz Jurczyk <j00ru>
Group Member

 

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

Attached Files
file #25193:  10x20gmb.bdf.asan.37.6 added by j00ru (35KiB - 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 j00ru (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-03-01 wl StatusNone Fixed
        PrivacyPrivate Public
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.4.9
    2012-02-27 j00ru Attached File- Added 10x20gmb.bdf.asan.37.6, #25193

    Back to the top

    Powered by Savane 3.13-ec04.
    Corresponding source code