diff options
author | Mattias Andrée <maandree@kth.se> | 2021-08-16 00:17:06 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-08-16 00:17:06 +0200 |
commit | 7eb0d92453b888728cb1b7b418afc04d3fb438e2 (patch) | |
tree | 53a90447185b69b9a2c06c902606727c367ac42a /libparsesfnt_parse___.c | |
parent | Add hdmx (diff) | |
download | libparsesfnt-7eb0d92453b888728cb1b7b418afc04d3fb438e2.tar.gz libparsesfnt-7eb0d92453b888728cb1b7b418afc04d3fb438e2.tar.bz2 libparsesfnt-7eb0d92453b888728cb1b7b418afc04d3fb438e2.tar.xz |
Add post + fix indention in hdmx
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libparsesfnt_parse___.c')
-rw-r--r-- | libparsesfnt_parse___.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libparsesfnt_parse___.c b/libparsesfnt_parse___.c index 17ee018..6e89dc0 100644 --- a/libparsesfnt_parse___.c +++ b/libparsesfnt_parse___.c @@ -122,6 +122,7 @@ libparsesfnt_parse___(const char *data, size_t size, void *infop, size_t esize, if (offset + count * need > size || (tag && (tag->length < count * need || tag->length > size || + tag->offset > size - tag->length || tag_offset > tag->length || first + count > (tag->length - tag_offset) / need))) goto ebfont; |