[webkit-changes] [WebKit/WebKit] 9c7a96: Fix bug found in AVAudioSessionCaptureDeviceManage...

Chris Dumez noreply at github.com
Fri Oct 7 07:43:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9c7a96d51fc1d2fec7155395c62b4fb2c0f655f0
      https://github.com/WebKit/WebKit/commit/9c7a96d51fc1d2fec7155395c62b4fb2c0f655f0
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm

  Log Message:
  -----------
  Fix bug found in AVAudioSessionCaptureDeviceManager::setAudioCaptureDevices() by new libcpp assertions
https://bugs.webkit.org/show_bug.cgi?id=246189

Reviewed by Jer Noble.

Fix dereferencing of m_devices which can be unset.
This was found by new libcpp assertions.

* Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm:
(WebCore::AVAudioSessionCaptureDeviceManager::setAudioCaptureDevices):

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




More information about the webkit-changes mailing list