[HarfBuzz] potential divide-by-zero in GPOS sanitizer

Jonathan Kew jonathan at jfkew.plus.com
Fri Aug 13 10:52:35 PDT 2010

Hi Behdad,

It's possible for AnchorMatrix::sanitize() to fail with a div-by-zero error, if the 'rows' field is zero.
(See https://bugzilla.mozilla.org/show_bug.cgi?id=586501.)

Patch is attached.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-586501-AnchorMatrix-sanitize.patch
Type: application/octet-stream
Size: 1051 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20100813/b9f4b1e0/attachment.obj>
-------------- next part --------------

More information about the HarfBuzz mailing list