[HarfBuzz] slooow HarfBuzz
Werner LEMBERG
wl at gnu.org
Thu Oct 27 05:03:43 UTC 2016
[harfbuzz 1.3.3]
Behdad,
attached you can find a fuzzed font that exhibits very bad behaviour
of `hb_ot_layout_lookup_collect_glyphs': it iterates a few billion
times while looking up data for `mlym', which is certainly invalid
behaviour.
I've run `ftfuzzer' with
valgrind --tool=callgrind ftfuzzer slow-unit-0030ddf1f5e8ac716938220235fd61b62e7d5848
(which took about 90 minutes on my not so old Notebook); attached is
its output too so that you can view it with `kcachegrind' or something
similar without running it by yourself.
Please fix :-)
Werner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slow-unit-0030ddf1f5e8ac716938220235fd61b62e7d5848.xz
Type: application/octet-stream
Size: 1824 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20161027/ddcdbca3/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slow-unit-0030ddf1f5e8ac716938220235fd61b62e7d5848.callgrind.xz
Type: application/octet-stream
Size: 54984 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20161027/ddcdbca3/attachment-0003.obj>
More information about the HarfBuzz
mailing list