diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-09-14 11:18:45 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-14 15:44:21 +0000 |
commit | 3ad06a513bc490065b860a543ffb43eb169769bd (patch) | |
tree | 99331ccbff37abbf9bb7e18eac5d321895ed7c5d /third_party/libpng16/pngwutil.c | |
parent | 038740c2fbd27f5a6a0fad8903546ecb69a2f9a4 (diff) | |
download | pdfium-3ad06a513bc490065b860a543ffb43eb169769bd.tar.xz |
Revert moving JPX library decode from Init to Decode
Due to some of the size parameters for allocating space in Decode()
depending on the values produced by opj_decode(), this change was
causing misallocation of space, which in turn was causing illegal
reads/writes.
The issue with excessive memory usage that the original CL was trying
to change is less significant than the above mentioned problems, so
reverting this fix and looking for another solution to the
problem. This will re-open bugs https://crbug.com/754423 and
https://crbug.com/761005.
BUG=chromium:764177,chromium:754423,chromium:761005
Change-Id: I1cafac8a8117ec1e3bc32b31196bdec719d46477
Reviewed-on: https://pdfium-review.googlesource.com/13950
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'third_party/libpng16/pngwutil.c')
0 files changed, 0 insertions, 0 deletions