summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_function.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-07-18 16:10:39 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-07-19 13:21:00 +0000
commit23c93ef6e3b9a289cdcece487b314325a21b28ff (patch)
tree6fed85255a2f7d7e07aa7832aca04145c8862475 /core/fpdfapi/page/cpdf_function.h
parentd0f1054087094e5c353aead6bc3370635b69b278 (diff)
downloadpdfium-23c93ef6e3b9a289cdcece487b314325a21b28ff.tar.xz
Avoid unterminated string segment in cfx_saxreaderhandler.cpp
Use the overloaded << operator, which takes length into account for StringC types, rather than a raw ptr (which gets promoted into a std::string resulting in a length call that overflows since StringCs aren't necessarily nul-terminated). Bug: 746073 Change-Id: Iffbbff53e12da8741acc7ce54000232cc66d83bc Reviewed-on: https://pdfium-review.googlesource.com/8150 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_function.h')
0 files changed, 0 insertions, 0 deletions