diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-06-08 12:06:40 -0400 |
---|---|---|
committer | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2021-05-05 16:38:25 +0200 |
commit | 1f75fc9089274a1fcb9ab7eb647e144f48c81fab (patch) | |
tree | dfe7711b581d168c2ac9d52388f74eb2b749c4d5 /pango/pango-layout.c | |
parent | 04031036fb1b80a47c7030053f4767363935c068 (diff) | |
download | pango-1f75fc9089274a1fcb9ab7eb647e144f48c81fab.tar.gz |
renderer: Fix a division-by-zero
We need to check if height is zero before dividing by it.
For completeness, check width at the same time.
This was pointed out in
https://gitlab.gnome.org/GNOME/pango/-/merge_requests/167
(cherry-picked from commit dd867f41)
Diffstat (limited to 'pango/pango-layout.c')
0 files changed, 0 insertions, 0 deletions