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

Issue 1377493005: Prevent divide by zeros in CJBig2_GSIDProc::decode_MMR(). (Closed)

Created:
5 years, 2 months ago by Lei Zhang
Modified:
5 years, 2 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Prevent divide by zeros in CJBig2_GSIDProc::decode_MMR(). Check the image size before attempting to decode. BUG=538103 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/9fb70fbded5c0bf4f5313a49fd3496b4d4fa71ca

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M core/src/fxcodec/jbig2/JBig2_Context.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Lei Zhang
5 years, 2 months ago (2015-10-02 01:53:41 UTC) #2
Tom Sepez
lgtm
5 years, 2 months ago (2015-10-02 17:30:04 UTC) #3
Lei Zhang
5 years, 2 months ago (2015-10-02 17:58:46 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
9fb70fbded5c0bf4f5313a49fd3496b4d4fa71ca (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698