mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Fixes access ponter after free in connection_info.channel->GetMedium()
PiperOrigin-RevId: 393904932
This commit is contained in:
committed by
Copybara-Service
parent
ebec902cb8
commit
f37dfd2e8a
@@ -559,7 +559,7 @@ void BwuManager::ProcessBwuPathAvailableEvent(
|
||||
}
|
||||
|
||||
client->GetAnalyticsRecorder().OnOutgoingConnectionAttempt(
|
||||
endpoint_id, proto::connections::UPGRADE, channel->GetMedium(),
|
||||
endpoint_id, proto::connections::UPGRADE, medium_,
|
||||
connection_attempt_result,
|
||||
SystemClock::ElapsedRealtime() - connection_attempt_start_time,
|
||||
client->GetConnectionToken(endpoint_id));
|
||||
|
||||
Reference in New Issue
Block a user