diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2014-11-19 18:58:01 -0800 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2014-11-19 18:58:01 -0800 |
commit | ef619d0562b39f30943cfdc4985a0df233d00e42 (patch) | |
tree | 4a52a65097c2d8d8e3f3eb646905a9d8ee2f1436 /core/src/fxge/Microsoft SDK/include/GdiPlusImageCodec.h | |
parent | 90e29cbcdc6661b7191da9b4079428847da617b6 (diff) | |
download | pdfium-chromium/2243.tar.xz |
Fix blank page issues caused by too strict checkchromium/2250chromium/2249chromium/2248chromium/2247chromium/2246chromium/2245chromium/2244chromium/2243chromium/2242chromium/2241chromium/2240chromium/2239chromium/2238chromium/2237
Before this fix, PDF parser aborts the parsering process when detecting an error.
For this case, PDF parser just gives up parsering when it detects that the length of
image stream is incorrect. The solution to this case is to find the tag "endstream"
and "endobj" to calculate the length rather than aborting the parsering process.
BUG=433339
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/743263002
Diffstat (limited to 'core/src/fxge/Microsoft SDK/include/GdiPlusImageCodec.h')
0 files changed, 0 insertions, 0 deletions