summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_stream.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-22 09:04:58 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-23 12:52:19 +0000
commit77d8317f2e6bb9c75d96390fdf843b86694ba6d2 (patch)
treec634a60674bb6e45d357a7d89d9287994fcbea15 /core/fpdfapi/parser/cpdf_stream.cpp
parent627b316e1e521547395a280a9a095c77b046988e (diff)
downloadpdfium-77d8317f2e6bb9c75d96390fdf843b86694ba6d2.tar.xz
Verify image returned from AddImage
The ::AddImage call can return a nullptr if there is no stream provided. This CL adds the missing null check on the returned object when lookikng at the image. Bug: chromium:756418, chromium:753700 Change-Id: I48032c0f421c8889827540ae91f404ef0f503bfe Reviewed-on: https://pdfium-review.googlesource.com/11532 Reviewed-by: Rebekah Potter <rbpotter@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_stream.cpp')
0 files changed, 0 insertions, 0 deletions