[HarfBuzz] segfault problem

Pierre Marchand capparis at free.fr
Wed Dec 12 05:50:09 PST 2007


Hello,
I was testing the shaper and finally found a memset call without check of the 
pointer (see diif) which eventually caused a segmentation fault. I was quite 
sure the buffer used by a shaper has not to be allocated by user, if I’m 
wrong, please tell me.

The font that caused that is here : 
http://www.selapa.net/testfonts/ScheherazadeRegOT.ttf

A screen shot that show face->gpos > 0 when face->buffer->position = 0 
http://www.fontmatrix.net/tmp/Harfbuzz_segfault.png

-- 
Pierre Marchand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hb.diff
Type: text/x-diff
Size: 861 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20071212/25419b2c/attachment.diff>


More information about the HarfBuzz mailing list