Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e3541aeec1ab11e3852b4010ede84b88c0998159
      
https://github.com/WebKit/WebKit/commit/e3541aeec1ab11e3852b4010ede84b88c0998159
  Author: Simon Pena <[email protected]>
  Date:   2026-04-10 (Fri, 10 Apr 2026)

  Changed paths:
    M Source/WebKit/Platform/IPC/glib/ConnectionGLib.cpp

  Log Message:
  -----------
  [GLib] hardening IPC message decoding
https://bugs.webkit.org/show_bug.cgi?id=310669

Reviewed by Adrian Perez de Castro.

This adds error checking when creating an IPC message decoder. When
detecting an error, it logs and returns null on release, asserting on
debug (or when assertions are enabled).

Then, on receiving a null message decoder, the connection is deemed
unsafed and closed.

* Source/WebKit/Platform/IPC/glib/ConnectionGLib.cpp:
(IPC::Connection::createMessageDecoder):
(IPC::Connection::readyReadHandler):

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



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

Reply via email to