diff options
author | Ke Liu <stackexploit@gmail.com> | 2018-04-19 04:11:42 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-19 04:11:42 +0000 |
commit | f24afac5e17e10f70336912ff85d8cb9c783f8a8 (patch) | |
tree | e5d2d58fa249f67ba984007ac09c5b14f9021e06 /fpdfsdk/cpdfsdk_interform.cpp | |
parent | e06880f8eb984a48921f0560bd7ab4e055da432d (diff) | |
download | pdfium-f24afac5e17e10f70336912ff85d8cb9c783f8a8.tar.xz |
Fix UAF in CFX_XMLElement::Save
Use a ByteString object to store the returned value of
WideString.UTF8Encode() instead of using a ByteStringView object
to store the returned value of WideString.UTF8Encode().AsStringView().
Bug: chromium:834149
Change-Id: I8fa8dd7920140730c0417c188572d7b53e4ffb48
Reviewed-on: https://pdfium-review.googlesource.com/30890
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_interform.cpp')
0 files changed, 0 insertions, 0 deletions