[webkit-changes] [WebKit/WebKit] 79ebbe: NetworkRTCTCPSocketCocoa::getInterfaceName is some...

youennf noreply at github.com
Fri Feb 7 09:19:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 79ebbe006f591b9ff0338c1c88a44d395faf005c
      https://github.com/WebKit/WebKit/commit/79ebbe006f591b9ff0338c1c88a44d395faf005c
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

  Changed paths:
    M Source/WebKit/NetworkProcess/webrtc/NetworkRTCTCPSocketCocoa.mm

  Log Message:
  -----------
  NetworkRTCTCPSocketCocoa::getInterfaceName is sometimes causing a nullptr crash
https://bugs.webkit.org/show_bug.cgi?id=287226
rdar://144371678

Reviewed by Eric Carlson.

We added a nullptr check in https://bugs.webkit.org/show_bug.cgi?id=285696 but it is not enough from testing.
We add a nullptr check at the call site to improve stability.

* Source/WebKit/NetworkProcess/webrtc/NetworkRTCTCPSocketCocoa.mm:
(WebKit::NetworkRTCTCPSocketCocoa::getInterfaceName):

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



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


More information about the webkit-changes mailing list