summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cfx_xmlparser_unittest.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-04-24 18:44:29 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-24 18:44:29 +0000
commit9afcfa46ee07bc22c94d49942f5a61d6a374fd2d (patch)
treeed3e030b7fabdfb4ef1182a401652f46c24f1c1f /core/fxcrt/xml/cfx_xmlparser_unittest.cpp
parent6453a67d84dc321a5f28728e04929dc2ff35ff88 (diff)
downloadpdfium-9afcfa46ee07bc22c94d49942f5a61d6a374fd2d.tar.xz
Switch declaration order to prevent UAF
This is occuring when the variables go out of scope, due to C++s first in, last out destruction policy. BUG=chromium:808333 Change-Id: I44f37520a22720bc23df4c8a72ff73994c37eea1 Reviewed-on: https://pdfium-review.googlesource.com/31278 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcrt/xml/cfx_xmlparser_unittest.cpp')
0 files changed, 0 insertions, 0 deletions