diff options
author | Ryan Harrison <rharrison@chromium.org> | 2018-04-24 18:44:29 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-24 18:44:29 +0000 |
commit | 9afcfa46ee07bc22c94d49942f5a61d6a374fd2d (patch) | |
tree | ed3e030b7fabdfb4ef1182a401652f46c24f1c1f /fpdfsdk/fpdf_annot.cpp | |
parent | 6453a67d84dc321a5f28728e04929dc2ff35ff88 (diff) | |
download | pdfium-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 'fpdfsdk/fpdf_annot.cpp')
0 files changed, 0 insertions, 0 deletions