diff options
author | Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com> | 2019-08-22 16:46:03 +0530 |
---|---|---|
committer | Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com> | 2019-08-22 16:46:03 +0530 |
commit | f67786de4d52c972e68bcb07252ab3229996cb83 (patch) | |
tree | cc1caf3204d7cf4d688f36a4a3d4e5722228d141 /src/truetype/ttgload.h | |
parent | 933c185b7e22e8b0c7b5a7ef8fb6ba32ce1acdd2 (diff) | |
download | freetype2-f67786de4d52c972e68bcb07252ab3229996cb83.tar.gz |
[woff2] Check whether known tag is in array bounds.GSoC-2019-nikhil
If table tag is not 0x3f, we expect a value between 0 and 62. If this is
not the case, exit with errors.
* src/sfnt/sfwoff2/c: Check whether table tag makes sense.
* src/sfnt/woff2tags.c: Return 0 if tag is out of bounds.
Diffstat (limited to 'src/truetype/ttgload.h')
0 files changed, 0 insertions, 0 deletions