diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-04-11 18:09:30 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-11 18:09:30 +0000 |
commit | 5b1fd5c7f172e32aed4fc47bf57a17c63c13e03c (patch) | |
tree | c122c87c625e007c5cfc43bf3624475c5bc4e558 /fpdfsdk/cpdfsdk_formfillenvironment.cpp | |
parent | 7b77dfc9aafb423e6204dd5433699cfd787147b3 (diff) | |
download | pdfium-5b1fd5c7f172e32aed4fc47bf57a17c63c13e03c.tar.xz |
Fix trailing whitespace handling in CPDF_StreamParser::ReadInlineStream()
After advancing past whitespace, the buffer may become empty. We were
checking too early.
Bug: 831498
Test: covered by fuzzers
Change-Id: I6796b4723a05c2bcafe495dc7bc648213aa9cc22
Reviewed-on: https://pdfium-review.googlesource.com/30191
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_formfillenvironment.cpp')
0 files changed, 0 insertions, 0 deletions