diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-07-07 14:03:55 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-07 18:22:36 +0000 |
commit | f6f68c75ce54a5865fb19dcb075e7734f1639663 (patch) | |
tree | e14853071407d92fbb820fda7725a51d77afedfe /core/fxcodec/jbig2/JBig2_ArithDecoder.h | |
parent | c3d3bb2a036bc26ad1b3c7c5f03ce11f41529b33 (diff) | |
download | pdfium-f6f68c75ce54a5865fb19dcb075e7734f1639663.tar.xz |
Check that there is enough data remaining in source BMP before readingchromium/3152
When reading in a BMP, after processing the header, make sure that
there is enough data remaining in the source before proceeding. If not
signal that the BMP is improperly formatted.
BUG=chromium:738635
Change-Id: I506bc0e6db7dcd4b5984fd91a1f39516320a2037
Reviewed-on: https://pdfium-review.googlesource.com/7280
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_ArithDecoder.h')
0 files changed, 0 insertions, 0 deletions