summaryrefslogtreecommitdiff
path: root/third_party/libtiff/tif_predict.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-07 17:55:39 +0000
committerTom Sepez <tsepez@chromium.org>2018-08-07 17:55:39 +0000
commitace0c8cfa6ccc97e32e083b4d7ca9d026772c585 (patch)
treeaa636f0f9868e1847505b3a795fc9af14921defe /third_party/libtiff/tif_predict.h
parentabf9829bc4112e5d25e4d0e2f57341fac22daccd (diff)
downloadpdfium-ace0c8cfa6ccc97e32e083b4d7ca9d026772c585.tar.xz
Merge to M69: Bounds check lineSrc in JBig2_Image.cpp.
No matter how the dimensions might be determined, we know the hard end of the source line, and can use it for a bounds check. We expect the size is quantized to a multiple of m_stride, so as long as each block operates within an m_stride, the initial check should be sufficient. TBR=thestig@chromium.org Bug: 867501 Change-Id: Iaf9936557b856f3eb09fef522f3e6738aa4f38f0 Reviewed-on: https://pdfium-review.googlesource.com/39310 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> (cherry picked from commit 0562ff4f6e2ec555212d90f2f5b1751d5d576107) Reviewed-on: https://pdfium-review.googlesource.com/39570 Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'third_party/libtiff/tif_predict.h')
0 files changed, 0 insertions, 0 deletions