Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5ebd2945412c73342afd22c12fca9d1fd51b5dac
      
https://github.com/WebKit/WebKit/commit/5ebd2945412c73342afd22c12fca9d1fd51b5dac
  Author: Ruthvik Konda <[email protected]>
  Date:   2025-10-08 (Wed, 08 Oct 2025)

  Changed paths:
    A LayoutTests/ipc/decode-destinationColorSpace-null-crash-expected.txt
    A LayoutTests/ipc/decode-destinationColorSpace-null-crash.html
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Add IPC decoder validator for DestinationColorSpace serializableColorSpace
https://bugs.webkit.org/show_bug.cgi?id=300355
rdar://162160316

Reviewed by Ryosuke Niwa.

Along with PR #51927, other CoreIPC fuzzer test cases hit an unrelated assert
in Debug builds. This assert (ASSERTION FAILED: m_platformColorSpace) comes up
in the DestinationColorSpace() constructor and is triggered because a null
colorspace gets passed in thru IPC.
This fix adds a validator to do a null check.

Test: ipc/decode-destinationColorSpace-null-crash.html
* LayoutTests/ipc/decode-destinationColorSpace-null-crash-expected.txt: Added.
* LayoutTests/ipc/decode-destinationColorSpace-null-crash.html: Added.
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

Canonical link: https://commits.webkit.org/301222@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