[HarfBuzz] potential divide-by-zero in GPOS sanitizer
Behdad Esfahbod
behdad at behdad.org
Fri Aug 13 11:07:40 PDT 2010
Applied. Thanks.
I wonder if there's a way to convince gcc to warn about possible div by zero?
behdad
On 08/13/10 13:52, Jonathan Kew wrote:
> 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.
>
> JK
>
>
>
>
>
>
More information about the HarfBuzz
mailing list