diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-01-09 09:50:50 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-01-09 15:32:48 +0000 |
commit | 5f92eab76505fc6be2e5373390591a55be489b21 (patch) | |
tree | a4c230681c601cccc50f1e770bf6cfd3f91fe387 /test/resolve_nodes.pdf | |
parent | 0d164f894472b364b0673471eda49b5d4f209c96 (diff) | |
download | pdfium-5f92eab76505fc6be2e5373390591a55be489b21.tar.xz |
[libtiff] Validate refblackwhite values
The td_refblackwhite value is currently assigned without validation. This
may pose an issue as the image can specify the value as nan. This will cause
problems later when we use the nan in calcluations.
This CL validates each of the float values are not nan and if they are sets
them to the default provided by the TIFF spec v6.
BUG=chromium:632883
Change-Id: I17b01f744d3f5247c4bd3f42765a27b611dc7d8c
Reviewed-on: https://pdfium-review.googlesource.com/2151
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'test/resolve_nodes.pdf')
0 files changed, 0 insertions, 0 deletions