summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/cxfa_fmparser_unittest.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-08-22 16:58:46 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-22 21:32:26 +0000
commit32489a0eb4b5b71e7951c1e165e69209655eacee (patch)
tree69fb566b9e186bb5e46178ad707b6f42f41f533f /xfa/fxfa/fm2js/cxfa_fmparser_unittest.cpp
parent8a1081fbf7f9fac94b32c59b5851387abdd24dea (diff)
downloadpdfium-chromium/3194.tar.xz
Bypass asserts in string [] operator for empty stringschromium/3194
The previous behaviour of [] on an empty string was to return 0 regardless of the index. We wanted to make this more strict, hence the current behaviour. This has led to a number of crashes due to code depending on the old behaviour. Reverting to the old behaviour until we have time to correct the call sites using empty strings. Bug=chromium:752480, pdfium:828 Change-Id: I511eea4148de85bf7f4694351e7a030b1a37f0de Reviewed-on: https://pdfium-review.googlesource.com/11630 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmparser_unittest.cpp')
0 files changed, 0 insertions, 0 deletions