[webkit-changes] [WebKit/WebKit] 56c0d9: Speculative crash fix for ColorInputType::valueAsC...

Anne van Kesteren noreply at github.com
Fri Feb 21 00:05:01 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56c0d951240a832a04144b554b96e149324812b8
      https://github.com/WebKit/WebKit/commit/56c0d951240a832a04144b554b96e149324812b8
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M Source/WebCore/html/ColorInputType.cpp

  Log Message:
  -----------
  Speculative crash fix for ColorInputType::valueAsColor
https://bugs.webkit.org/show_bug.cgi?id=288075
rdar://144872437

Reviewed by Alex Christensen.

Based on a variety of crash logs there at least some crashes resulting
from bad optional access. Although I have found no way to reproduce
this, it seems better to fail silently in release builds.

* Source/WebCore/html/ColorInputType.cpp:
(WebCore::ColorInputType::valueAsColor const):

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



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


More information about the webkit-changes mailing list