Fix UAF in ImportantFileWriter.
DeleteTmpFileWithRetry() must pass the histogram suffix as a std::string rather than a StringPiece when posting its delayed task. BUG=1112511 R=thestig@chromium.org Change-Id: I824e90e9e32b6587154de040c0da3cb7d30c8cab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339737Reviewed-by:Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Commit-Queue: Greg Thompson <grt@chromium.org> Auto-Submit: Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#795239}
Showing
Please register or sign in to comment