Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c117932dfd8a4c8398ca55ae935082e4716cbe52
      
https://github.com/WebKit/WebKit/commit/c117932dfd8a4c8398ca55ae935082e4716cbe52
  Author: Nisha Jain <[email protected]>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M Source/WebCore/bindings/js/SerializedScriptValue.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/SerializedScriptValue.cpp

  Log Message:
  -----------
  "Fuzz blocker for WebCore-SerializedScriptValue-Deserialize-fuzzer in 
readTerminal() | case ImageDataTag"
https://bugs.webkit.org/show_bug.cgi?id=272707
rdar://126132273

Reviewed by Chris Dumez.

ASSERT gets triggered due to overflow of 'IntSize().area()' during 
deserialization of IDBValueToJSValue based on 'ImageDataTag'.
To avoid this crash added overflow check for 'IntSize().area() * 4' value.

* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneDeserializer::readTerminal):
* Tools/TestWebKitAPI/Tests/WebCore/SerializedScriptValue.cpp:
(TestWebKitAPI::TEST):

Originally-landed-as: 272448.988@safari-7618-branch (d4a726f1404c). 
rdar://132958710
Canonical link: https://commits.webkit.org/282299@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to