summaryrefslogtreecommitdiff
path: root/xfa/fwl/basewidget/fwl_editimp.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-17 23:09:43 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-17 23:09:43 +0000
commita9d56105a725d223f87bd979ffbf61a8a2377c08 (patch)
treee450f3e0ccf185de7c4cbccd892eac6ed6fb360d /xfa/fwl/basewidget/fwl_editimp.cpp
parentcffa651acfa7ca1d90aecea728e94c5c3dcdfe79 (diff)
downloadpdfium-chromium/3526.tar.xz
Use more UnownedPtr<> in cpdf_renderstatus.h.chromium/3526
This immediately flags a case where a pointer from a heap object to a caller's stack object is persisted past the caller's lifetime. Fix it the simplest way via AutoRestorer<> so we'll get a nice safe segv should it be used. Change-Id: I554304b235e73c279fa0cd79c9e3ee0138be45f9 Reviewed-on: https://pdfium-review.googlesource.com/40592 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fwl/basewidget/fwl_editimp.cpp')
0 files changed, 0 insertions, 0 deletions