diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-05-19 10:43:06 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-19 20:52:37 +0000 |
commit | 92c13a7d495c54d86ac8faf8a56a017da2ad39ff (patch) | |
tree | 8b0896cf870ec9a17a509245d50921759ae6a153 /core/fpdfdoc/pdf_vt.h | |
parent | d824a90b6fc908020d8f264447fd348c7ffe72c5 (diff) | |
download | pdfium-chromium/3105.tar.xz |
ASAN flags zero-length StringC in GetMapModuleString()chromium/3105
Corner case for StringCs: A non-referenceable ptr plus a
zero length.
The situation should be rare, so fix it at the spot of the
foul rather than adding logic to the StringC constructors to
zero the pointer when encountering zero length.
Bug: 724500
Change-Id: I54b263f7db5ddef7bade6bfaa185a542ea20229c
Reviewed-on: https://pdfium-review.googlesource.com/5730
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc/pdf_vt.h')
0 files changed, 0 insertions, 0 deletions