diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-08-22 09:04:58 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-23 12:52:19 +0000 |
commit | 77d8317f2e6bb9c75d96390fdf843b86694ba6d2 (patch) | |
tree | c634a60674bb6e45d357a7d89d9287994fcbea15 /core/fxge/cfx_graphstatedata.h | |
parent | 627b316e1e521547395a280a9a095c77b046988e (diff) | |
download | pdfium-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/fxge/cfx_graphstatedata.h')
0 files changed, 0 insertions, 0 deletions