diff options
author | Nicolas Pena <npm@chromium.org> | 2017-01-16 13:27:06 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-01-16 22:24:15 +0000 |
commit | 6b71f22093fc4abb2da39f5a58b29c45c17ff99a (patch) | |
tree | ad94c13914c59ad30191af043699485702c3c0cd /samples | |
parent | ff920ae3e181de9275f1d4c9b4b54fe2a7a54560 (diff) | |
download | pdfium-6b71f22093fc4abb2da39f5a58b29c45c17ff99a.tar.xz |
Return early when gif_img_row_bytes is 0chromium/2984
We can get into a loop when gif_img_row_bytes is 0 since Decode will
return 3 when the second parameter is 0, and there is a while(ret!=0).
BUG=681170
Change-Id: I63502a8487c07030fce2373f74cec6b4f0c98297
Reviewed-on: https://pdfium-review.googlesource.com/2211
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions