summaryrefslogtreecommitdiff
path: root/core/fxcodec/gif/cfx_gif.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-10-23 16:39:06 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-23 20:52:07 +0000
commitc9d0bcccbd4cc460bb3e26f767eea2d33a5b48b6 (patch)
tree030ffed6b938dd50b537993e27c69ae38f1b448d /core/fxcodec/gif/cfx_gif.cpp
parent25e763e99932a4d12cbd51b3c36411b44163c5d8 (diff)
downloadpdfium-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/fxcodec/gif/cfx_gif.cpp')
0 files changed, 0 insertions, 0 deletions