diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-17 23:09:43 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-17 23:09:43 +0000 |
commit | a9d56105a725d223f87bd979ffbf61a8a2377c08 (patch) | |
tree | e450f3e0ccf185de7c4cbccd892eac6ed6fb360d /AUTHORS | |
parent | cffa651acfa7ca1d90aecea728e94c5c3dcdfe79 (diff) | |
download | pdfium-a9d56105a725d223f87bd979ffbf61a8a2377c08.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 'AUTHORS')
0 files changed, 0 insertions, 0 deletions