Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a7759f50432c6abbc4d2215eac3e513665a7a751
      
https://github.com/WebKit/WebKit/commit/a7759f50432c6abbc4d2215eac3e513665a7a751
  Author: Philippe Normand <[email protected]>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M Source/WebKit/NetworkProcess/webrtc/rice/RiceBackend.cpp

  Log Message:
  -----------
  REGRESSION(311577@main): [GStreamer] 
imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-addTcpIceCandidate.html
 crashes
https://bugs.webkit.org/show_bug.cgi?id=312808

Reviewed by Xabier Rodriguez-Calvar.

When TCP connection fails the RiceTcpSocket passed from the rice_tcp_connect 
callback is nullptr, so
we should check for that case. Passing by, allow conversion of 
SocketAllocationData to GUniquePtr
for improved RAII.

* Source/WebKit/NetworkProcess/webrtc/rice/RiceBackend.cpp:
(WebKit::RiceBackend::allocateSocket):

Canonical link: https://commits.webkit.org/311666@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to