Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3824d61a613194816b8c6afa7057214491925d4d
      
https://github.com/WebKit/WebKit/commit/3824d61a613194816b8c6afa7057214491925d4d
  Author: Pedro Varangot <[email protected]>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    A 
LayoutTests/http/tests/ipc/null-port-on-sharedmemoryhandle-creation-expected.txt
    A LayoutTests/http/tests/ipc/null-port-on-sharedmemoryhandle-creation.html
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Tools/Scripts/webkitperl/httpd.pm

  Log Message:
  -----------
  Sometimes a null port can get sent over to create a SharedMemoryHandle, this 
asserts on the constructor
rdar://139876500
https://bugs.webkit.org/show_bug.cgi?id=285539

Reviewed by Ryosuke Niwa.

This fixes the bug by adding a verification on the decoder for the IPC handle 
that makes sure it's not a null or invalid handle.

* 
LayoutTests/http/tests/ipc/null-port-on-sharedmemoryhandle-creation-expected.txt:
 Added.
* LayoutTests/http/tests/ipc/null-port-on-sharedmemoryhandle-creation.html: 
Added.
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Tools/Scripts/webkitperl/httpd.pm:
(getDefaultConfigForTestDirectory):

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