diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-10-23 16:39:06 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-23 20:52:07 +0000 |
commit | c9d0bcccbd4cc460bb3e26f767eea2d33a5b48b6 (patch) | |
tree | 030ffed6b938dd50b537993e27c69ae38f1b448d /core/fpdfdoc/cpdf_interform.h | |
parent | 25e763e99932a4d12cbd51b3c36411b44163c5d8 (diff) | |
download | pdfium-c9d0bcccbd4cc460bb3e26f767eea2d33a5b48b6.tar.xz |
Return error when attempting to load frame with 0 height
A frame with 0 height will have no data, so there is not point in
attempting to load it. Additionally some of the loading code assumes a
non-zero height implicitly.
BUG=chromium:770470
Change-Id: I38b222b46b43ce5d47924526913285510be40603
Reviewed-on: https://pdfium-review.googlesource.com/16551
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_interform.h')
0 files changed, 0 insertions, 0 deletions