commit | f01463297f3d5db9cdfa59df4714c68bbef16e89 | [log] [tgz] |
---|---|---|
author | Werner Lemberg <wl@gnu.org> | Mon May 29 21:04:27 2017 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Mon May 29 21:04:27 2017 +0200 |
tree | 070ce5abde1b98e1642d5b25932d9f70c9bf3eb8 | |
parent | fbe2fe4c7513246a666fb0cffffd29e7f6f3af4b [diff] |
[pcf] 32bit integer overflow run-time errors (#46149). * src/pcf/pcfread.c (pcf_get_accel): Add sanity checks for `fontAscent' and `fontDescent'. (pcf_load_font): Add sanity checks for global height. Add sanity checks for AVERAGE_WIDTH, POINT_SIZE, PIXEL_SIZE, RESOLUTION_X, and RESOLUTION_Y properties.