diff options
author | Nicolas Pena <npm@chromium.org> | 2017-10-23 10:30:46 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-23 22:40:23 +0000 |
commit | 826480cf599f61fe0366ab2bd5803dd53c9d0562 (patch) | |
tree | d42bca4255a2ecf484b8498b08c6132dbcffe86a /third_party/libopenjpeg20/0033-undefined-shift-opj_t1_dec_clnpass.patch | |
parent | ebdba614b9683ddd1d50e8960639bc54c9d4bb7a (diff) | |
download | pdfium-chromium/3249.tar.xz |
Upgrade LibopenJPEG to 2.3chromium/3249
Bug:
Change-Id: I4c968a4e5f41037d80e5dc64a1297cd2cbda31b1
Reviewed-on: https://pdfium-review.googlesource.com/16350
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'third_party/libopenjpeg20/0033-undefined-shift-opj_t1_dec_clnpass.patch')
-rw-r--r-- | third_party/libopenjpeg20/0033-undefined-shift-opj_t1_dec_clnpass.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/third_party/libopenjpeg20/0033-undefined-shift-opj_t1_dec_clnpass.patch b/third_party/libopenjpeg20/0033-undefined-shift-opj_t1_dec_clnpass.patch deleted file mode 100644 index 58f04b0a24..0000000000 --- a/third_party/libopenjpeg20/0033-undefined-shift-opj_t1_dec_clnpass.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/third_party/libopenjpeg20/t1.c b/third_party/libopenjpeg20/t1.c -index 1ad850c77..d290c38d5 100644 ---- a/third_party/libopenjpeg20/t1.c -+++ b/third_party/libopenjpeg20/t1.c -@@ -1387,6 +1387,9 @@ static OPJ_BOOL opj_t1_decode_cblk(opj_t1_t *t1, - } - - bpno_plus_one = (OPJ_INT32)(roishift + cblk->numbps); -+ if (bpno_plus_one > 30) { -+ return OPJ_FALSE; -+ } - passtype = 2; - - opj_mqc_resetstates(mqc); |