Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d343d173217dc337dd09b3abae71fb81928e0af7
      
https://github.com/WebKit/WebKit/commit/d343d173217dc337dd09b3abae71fb81928e0af7
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/TrackPrivateBase.cpp

  Log Message:
  -----------
  TrackPrivateBase::removeClient has an inverted bounds check
https://bugs.webkit.org/show_bug.cgi?id=316765
rdar://179211106

Reviewed by Pascoe.

removeClient() bailed out when m_clients.size() > index -- i.e. for every valid 
index, and only
reached the slot-clearing assignment when the index was out of bounds. Fix the 
bounds check.

* Source/WebCore/platform/graphics/TrackPrivateBase.cpp:
(WebCore::TrackPrivateBase::removeClient):

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



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

Reply via email to