diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-08-05 20:01:04 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2012-08-06 14:03:10 +0200 |
commit | 697c3cfb34d0b6fe315fc4d303340275ab80c121 (patch) | |
tree | efaa27a3c7a62f36434587a9bfa9ce17f68d50b1 /fitz | |
parent | 0fda4705b3194d2158f4dd3998981884cb3e8570 (diff) | |
download | mupdf-697c3cfb34d0b6fe315fc4d303340275ab80c121.tar.xz |
Fix comparison of cmap table length against maximum value
The cmap table length counts how many entries there are currently in
the table. The table length was previously tested against USHRT_MAX
which is 65535. However, the desired value to compare with was 65536
which would be the maximum number of entries allowed in a cmap table.
All comparisons of the cmap table length are now using USHRT_MAX + 1.
Diffstat (limited to 'fitz')
0 files changed, 0 insertions, 0 deletions