Protect against possible division by zeros (#316468, Steve Grubb)
authorBehdad Esfahbod <behdad@gnome.org>
Wed, 23 Nov 2005 15:19:48 +0000 (15:19 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Wed, 23 Nov 2005 15:19:48 +0000 (15:19 +0000)
commit682db81c23d2116072d8550657c914afb7c26d2b
treed0511a5a502fcd18359efd0a2ea3a7919a1f9222
parente6e15352d154e1350340f8045759e5f7b0d86dc7
Protect against possible division by zeros (#316468, Steve Grubb)

2005-11-23  Behdad Esfahbod  <behdad@gnome.org>

        Protect against possible division by zeros (#316468, Steve Grubb)

        * pango/pango-context.c (update_metrics_from_items),
        pango/pango-fontset.c (pango_fontset_real_get_metrics): If count is
        zero, do not alter approximate_{char,digit}_width.

        * pango/opentype/disasm.c: Err on invalid DeltaFormat.
src/disasm.c