diff options
author | jaepark <jaepark@google.com> | 2016-09-08 13:34:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-08 13:34:19 -0700 |
commit | 3451c0900cbbc06d82a07bca3670ac87ec36f52e (patch) | |
tree | 4ab7a98b7919f8a82ca6e1b09a0e4d9cc4703da8 /fpdfsdk/fpdf_searchex.cpp | |
parent | c29fc707b24b9528e41a242cfa298275708ffc76 (diff) | |
download | pdfium-3451c0900cbbc06d82a07bca3670ac87ec36f52e.tar.xz |
Check whether the annotation content is empty using CFX_WideString.
CFX_ByteString cannot properly check whether the contents string is empty
because the first two bytes of text strings encoded in Unicode are always ASCII
254 followed by 255. So if we get contents in CFX_ByteString, the length will
always be 2.
Also, roll DEPS for testing/corpus to 608bf04.
Review-Url: https://codereview.chromium.org/2293403003
Diffstat (limited to 'fpdfsdk/fpdf_searchex.cpp')
0 files changed, 0 insertions, 0 deletions