summaryrefslogtreecommitdiff
path: root/third_party/libopenjpeg20/README.pdfium
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-01-24 18:05:10 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-25 00:05:29 +0000
commitd198e406d13b831ffd4b1a2bfdf12522dea31205 (patch)
tree25e7be2f62e5c33c57d69118a0ec0611a7d79370 /third_party/libopenjpeg20/README.pdfium
parent33316fccc6a523077d15dc7944a492099a99f6e1 (diff)
downloadpdfium-d198e406d13b831ffd4b1a2bfdf12522dea31205.tar.xz
Use opj_uint_ceildiv where it is better than its int version
Replaced (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)a, (OPJ_INT32) b) with opj_uint_ceildiv(a, b), which makes much more sense. BUG=683156 Change-Id: Ie9d6736f4ec0f16d14f203850a14f0dabd73ee38 Reviewed-on: https://pdfium-review.googlesource.com/2352 Reviewed-by: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'third_party/libopenjpeg20/README.pdfium')
-rw-r--r--third_party/libopenjpeg20/README.pdfium1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/libopenjpeg20/README.pdfium b/third_party/libopenjpeg20/README.pdfium
index 093f7fe9bd..8ed63771f7 100644
--- a/third_party/libopenjpeg20/README.pdfium
+++ b/third_party/libopenjpeg20/README.pdfium
@@ -35,4 +35,5 @@ Local Modifications:
0023-opj_j2k_read_mct_records.patch: Fix opj_j2k_read to prevent heap-use-after-free.
0024-l_marker_size_check.patch: Return error before overflow in opj_j2k_read_header_procedure.
0025-opj_j2k_add_mct_null_data.patch: Check m_data != null before trying to read from it.
+0026-use_opj_uint_ceildiv.patch: Remove (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)a, (OPJ_INT32) b).
TODO(thestig): List all the other patches.