Skip to content

Commit

Permalink
Fix use after moved bug in QuicTimeWaitListManager.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 715864681
  • Loading branch information
wang178c authored and copybara-github committed Jan 15, 2025
1 parent 1f4ecee commit 5cac61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quiche/quic/core/quic_time_wait_list_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void QuicTimeWaitListManager::RemoveConnectionDataFromMap(
void QuicTimeWaitListManager::AddConnectionIdToTimeWait(
TimeWaitAction action, TimeWaitConnectionInfo info) {
QUICHE_DCHECK(!info.active_connection_ids.empty());
const QuicConnectionId& canonical_connection_id =
const QuicConnectionId canonical_connection_id =
info.active_connection_ids.front();
QUICHE_DCHECK(action != SEND_TERMINATION_PACKETS ||
!info.termination_packets.empty());
Expand Down

0 comments on commit 5cac61b

Please sign in to comment.