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

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

Created:
4 years, 4 months ago by Ke Liu
Modified:
4 years, 4 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

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -4 lines) Patch
A third_party/libopenjpeg20/0022-jp2_apply_pclr_overflow.patch View 1 chunk +62 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 3 chunks +27 lines, -4 lines 1 comment Download

Messages

Total messages: 5 (2 generated)
Oliver Chang
Thanks for uploading a patch. I'm afraid I missed this for a few days -- ...
4 years, 4 months ago (2016-08-23 16:52:40 UTC) #3
Ke Liu
On 2016/08/23 16:52:40, Oliver Chang (slow) wrote: > Thanks for uploading a patch. I'm afraid ...
4 years, 4 months ago (2016-08-24 03:07:47 UTC) #4
dsinclair
4 years, 4 months ago (2016-08-24 14:13:16 UTC) #5
Message was sent while issue was closed.
On 2016/08/24 03:07:47, Ke Liu wrote:
> On 2016/08/23 16:52:40, Oliver Chang (slow) wrote:
> > Thanks for uploading a patch. I'm afraid I missed this for a few days --
> you'll
> > need to click "Publish+Mail Comments" so that we get an email requesting the
> > review.
> > 
> >
>
https://codereview.chromium.org/2253423002/diff/1/third_party/libopenjpeg20/j...
> > File third_party/libopenjpeg20/jp2.c (right):
> > 
> >
>
https://codereview.chromium.org/2253423002/diff/1/third_party/libopenjpeg20/j...
> > third_party/libopenjpeg20/jp2.c:1028: for (j = 0; j < nr_channels; ++j) {
> > these lines are very similar to 995-1000. maybe consolidate them into
another
> > function?
> 
> Hi Oliver, thanks for your reviewing. My old repository was deleted
accidentally
> so I uploaded another cl. Please review it at
> https://codereview.chromium.org/2270343002/ . Please help me to close this cl.
> Thanks.


In the future, you can create a branch locally and do 'git cl patch 2253423002'
to pull down the patch to your local branch. You can also do 'git cl issue
2253423002' to associate the given issue number to the current branch.

Powered by Google App Engine
This is Rietveld 408576698