Title: [281026] branches/safari-611.3.10.0-branch/Source/WebCore
Revision
281026
Author
alanc...@apple.com
Date
2021-08-13 11:58:37 -0700 (Fri, 13 Aug 2021)

Log Message

Cherry-pick r278729. rdar://problem/80310242

    Fix incorrect check in AudioNode.disconnect()
    https://bugs.webkit.org/show_bug.cgi?id=226818
    <rdar://problem/79076999>

    Reviewed by Eric Carlson.

    * Modules/webaudio/AudioNode.cpp:
    (WebCore::AudioNode::disconnect):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278729 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-611.3.10.0-branch/Source/WebCore/ChangeLog (281025 => 281026)


--- branches/safari-611.3.10.0-branch/Source/WebCore/ChangeLog	2021-08-13 18:58:23 UTC (rev 281025)
+++ branches/safari-611.3.10.0-branch/Source/WebCore/ChangeLog	2021-08-13 18:58:37 UTC (rev 281026)
@@ -1,3 +1,30 @@
+2021-08-13  Russell Epstein  <repst...@apple.com>
+
+        Cherry-pick r278729. rdar://problem/80310242
+
+    Fix incorrect check in AudioNode.disconnect()
+    https://bugs.webkit.org/show_bug.cgi?id=226818
+    <rdar://problem/79076999>
+    
+    Reviewed by Eric Carlson.
+    
+    * Modules/webaudio/AudioNode.cpp:
+    (WebCore::AudioNode::disconnect):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-06-10  Chris Dumez  <cdu...@apple.com>
+
+            Fix incorrect check in AudioNode.disconnect()
+            https://bugs.webkit.org/show_bug.cgi?id=226818
+            <rdar://problem/79076999>
+
+            Reviewed by Eric Carlson.
+
+            * Modules/webaudio/AudioNode.cpp:
+            (WebCore::AudioNode::disconnect):
+
 2021-08-10  Russell Epstein  <repst...@apple.com>
 
         Apply patch. rdar://problem/79924198

Modified: branches/safari-611.3.10.0-branch/Source/WebCore/Modules/webaudio/AudioNode.cpp (281025 => 281026)


--- branches/safari-611.3.10.0-branch/Source/WebCore/Modules/webaudio/AudioNode.cpp	2021-08-13 18:58:23 UTC (rev 281025)
+++ branches/safari-611.3.10.0-branch/Source/WebCore/Modules/webaudio/AudioNode.cpp	2021-08-13 18:58:37 UTC (rev 281026)
@@ -312,7 +312,7 @@
     if (outputIndex >= numberOfOutputs())
         return Exception { IndexSizeError, "output index is out of bounds"_s };
 
-    if (outputIndex >= destinationNode.numberOfInputs())
+    if (inputIndex >= destinationNode.numberOfInputs())
         return Exception { IndexSizeError, "input index is out of bounds"_s };
 
     auto* output = this->output(outputIndex);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to