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

Issue 1384663007: Fix regression in JBIG2 decoding from commit ce37d73. (Closed)

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

Description

Fix regression in JBIG2 decoding from commit ce37d73. many callers can tolerate CJBig2_ArithIntDecoder::decode() OOB failure. BUG=539749, pdfium:209 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/35902e725aa6cc83a317c3b6fdd1926b81b8e44b

Patch Set 1 : #

Total comments: 2

Patch Set 2 : grammar school #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -69 lines) Patch
M core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fxcodec/jbig2/JBig2_SddProc.cpp View 6 chunks +18 lines, -31 lines 0 comments Download
M core/src/fxcodec/jbig2/JBig2_TrdProc.cpp View 2 chunks +20 lines, -38 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Lei Zhang
Given: - original code - broken code (my CL that caused bug 209) - new ...
5 years, 2 months ago (2015-10-06 05:47:56 UTC) #3
Tom Sepez
LGTM. I didn't verify that the new code matches the old semantics, though. https://codereview.chromium.org/1384663007/diff/20001/core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h File ...
5 years, 2 months ago (2015-10-06 05:58:37 UTC) #4
Lei Zhang
I temporarily changed the return type to void to flush out all the callers. Otherwise ...
5 years, 2 months ago (2015-10-06 06:01:23 UTC) #5
Lei Zhang
Committed patchset #2 (id:40001) manually as 35902e725aa6cc83a317c3b6fdd1926b81b8e44b (presubmit successful).
5 years, 2 months ago (2015-10-06 06:02:30 UTC) #6
Lei Zhang
5 years, 2 months ago (2015-10-06 06:03:31 UTC) #7
Message was sent while issue was closed.
And we'll have a regression test for this, hopefully tomorrow.

Powered by Google App Engine
This is Rietveld 408576698