Skip to content

Commit

Permalink
[M119] Fix crash from use-after-move
Browse files Browse the repository at this point in the history
(cherry picked from commit ddfe408)

Bug: 1500097
Change-Id: I3424efffe55078480795a3e7e93af3e1dcae2df6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5014105
Commit-Queue: Russ Hamilton <behamilton@google.com>
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Auto-Submit: Russ Hamilton <behamilton@google.com>
Reviewed-by: Clark DuVall <cduvall@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1221627}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5017786
Reviewed-by: Matt Menke <mmenke@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/branch-heads/6045@{#1288}
Cr-Branched-From: 905e8bd-refs/heads/main@{#1204232}
  • Loading branch information
brusshamilton authored and Chromium LUCI CQ committed Nov 10, 2023
1 parent 59c1d2f commit b919c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/network/oblivious_http_request_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ void ObliviousHttpRequestHandler::OnRequestComplete(
*headers,
base::BindOnce(
&ObliviousHttpRequestHandler::OnDoneFinalizingTrustTokenOperation,
base::Unretained(this), id, inner_status_code, std::move(headers),
base::Unretained(this), id, inner_status_code, headers,
std::string(bhttp_response->body())));
return;
}
Expand Down

0 comments on commit b919c60

Please sign in to comment.