diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2017-06-14 10:14:51 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2017-06-14 10:16:05 +0100 |
commit | 3ee55637480d5e319a5de0481b01c3346855cbc9 (patch) | |
tree | 3aebe05f0dd7b086fc4e2ca6e20df354bf79535e /xps/ghostxps.h | |
parent | 3c2aebbedd37fab054e80f2e315de07d7e9b5bdb (diff) | |
download | ghostpdl-3ee55637480d5e319a5de0481b01c3346855cbc9.tar.gz |
Bug 698050: xps: bounds check offset for requested cmap table
Diffstat (limited to 'xps/ghostxps.h')
-rw-r--r-- | xps/ghostxps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/ghostxps.h b/xps/ghostxps.h index 623ea5df6..89f43e30a 100644 --- a/xps/ghostxps.h +++ b/xps/ghostxps.h @@ -267,7 +267,7 @@ void xps_free_font(xps_context_t *ctx, xps_font_t *font); int xps_count_font_encodings(xps_font_t *font); void xps_identify_font_encoding(xps_font_t *font, int idx, int *pid, int *eid); -void xps_select_font_encoding(xps_font_t *font, int idx); +int xps_select_font_encoding(xps_font_t *font, int idx); int xps_decode_font_char(xps_font_t *font, int key); int xps_encode_font_char(xps_font_t *font, int key); |