summaryrefslogtreecommitdiff
path: root/xps/xpsfont.c
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2017-06-14 09:16:02 +0100
committerChris Liddell <chris.liddell@artifex.com>2017-06-14 10:16:05 +0100
commitc53183d4e7103e87368b7cfa15367a47d559e323 (patch)
treeb2204bc7905772820150959487a3a64f24503ea5 /xps/xpsfont.c
parent6cf7a8c45517d5857aa81cf59a82a2cc5c7d021c (diff)
downloadghostpdl-c53183d4e7103e87368b7cfa15367a47d559e323.tar.gz
Bug 698042: xps: fix glyph index and index bounds check.
If a gs_glyph has the GS_MIN_GLYPH_INDEX offset, we need to remove the offset before we try to use it. Secondly, using a unsigned variable for a value from which we subtract 1, and which can be zero doesn't work well. Switch to a signed value.
Diffstat (limited to 'xps/xpsfont.c')
0 files changed, 0 insertions, 0 deletions