Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Issue 2270343002: openjpeg: Prevent an integer overflow in opj_jp2_apply_pclr. (Closed)

Created:
4 years, 4 months ago by Ke Liu
Modified:
4 years, 3 months ago
Reviewers:
Lei Zhang, Oliver Chang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

openjpeg: Prevent an integer overflow in opj_jp2_apply_pclr. This patch also prevent a null pointer access problem. BUG=chromium:638829 R=ochang@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/c37d7d452d6a37c997c8709576dd71406ecff618

Patch Set 1 : Original patch. #

Total comments: 3

Patch Set 2 : Update indentation, code, and patch file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -5 lines) Patch
A third_party/libopenjpeg20/0022-jp2_apply_pclr_overflow.patch View 1 1 chunk +53 lines, -0 lines 0 comments Download
M third_party/libopenjpeg20/README.pdfium View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/libopenjpeg20/jp2.c View 1 2 chunks +19 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Ke Liu
On 2016/08/24 03:10:04, Ke Liu wrote: > mailto:stackexploit@gmail.com changed reviewers: > + mailto:thestig@chromium.org Thanks for ...
4 years, 4 months ago (2016-08-24 03:17:07 UTC) #3
Ke Liu
Updated based on the previous cl ( https://codereview.chromium.org/2253423002/ ).
4 years, 4 months ago (2016-08-24 03:19:53 UTC) #4
Oliver Chang
https://codereview.chromium.org/2270343002/diff/1/third_party/libopenjpeg20/jp2.c File third_party/libopenjpeg20/jp2.c (right): https://codereview.chromium.org/2270343002/diff/1/third_party/libopenjpeg20/jp2.c#newcode976 third_party/libopenjpeg20/jp2.c:976: for (i = 0; i < nr_channels; ++i) { ...
4 years, 4 months ago (2016-08-25 01:02:20 UTC) #5
Ke Liu
On 2016/08/25 01:02:20, Oliver Chang (slow) wrote: > https://codereview.chromium.org/2270343002/diff/1/third_party/libopenjpeg20/jp2.c > File third_party/libopenjpeg20/jp2.c (right): > > ...
4 years, 3 months ago (2016-08-25 03:34:43 UTC) #6
Oliver Chang
lgtm, thanks!
4 years, 3 months ago (2016-08-25 16:07:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2270343002/20001
4 years, 3 months ago (2016-08-29 18:47:27 UTC) #9
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 19:04:54 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/c37d7d452d6a37c997c8709576dd71406ecf...

Powered by Google App Engine
This is Rietveld 408576698