diff options
| author | Eli Zaretskii | 2018-05-05 11:52:29 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-05-05 11:52:29 +0300 |
| commit | e2879c1f837059335af89022b2a9ac9bc861e96d (patch) | |
| tree | 2ed4a8772ce6efcbbd4412740df71e98d98031a3 /lisp/progmodes/python.el | |
| parent | bbe2cadc544e63e9378350621887f8fb9bbcc236 (diff) | |
| download | emacs-e2879c1f837059335af89022b2a9ac9bc861e96d.tar.gz emacs-e2879c1f837059335af89022b2a9ac9bc861e96d.zip | |
Avoid infloops in font_open_entity
* src/font.c (font_open_entity): Fail after 15 iterations through
the loop that looks for a font whose average_width and height are
both positive. This avoids infinite loops for fonts that, e.g.,
report average_width of zero for any possible size we try.
(Bug#31316)
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions