summaryrefslogtreecommitdiff
path: root/xfa/fxfa/xfa_ffpageview.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-25 11:37:16 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-26 14:14:14 +0000
commitcff5618d4e847b9f13e1f051d56e09ee00cfb089 (patch)
treee4538dd8fb0dacb37f382873884263222dc96744 /xfa/fxfa/xfa_ffpageview.h
parent5c1673db6deae2e1858c4ffc3b3a0b79901dd827 (diff)
downloadpdfium-cff5618d4e847b9f13e1f051d56e09ee00cfb089.tar.xz
Fix CSS fuzzer input size
Currently we use the size provided by clusterfuzz when initializing the css syntax parser. This maybe incorrect as the CFX_WideString may have a different count after converting to UTF. Use the wide string length instead of the provided size. We need to guard against strings that convert to blank when doing the wide conversion so add an early exit. BUG=682551 Change-Id: I3e014647fcf869681098a1b4446306b8b3eb9323 Reviewed-on: https://pdfium-review.googlesource.com/2391 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/xfa_ffpageview.h')
0 files changed, 0 insertions, 0 deletions