[webkit-changes] [WebKit/WebKit] 1d37f3: Fix type confusion in BuilderConverter::convertPat...

Chirag Shah noreply at github.com
Fri Apr 21 03:10:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1d37f36651144308e8d2c27a3cdabc939f3cf384
      https://github.com/WebKit/WebKit/commit/1d37f36651144308e8d2c27a3cdabc939f3cf384
  Author: Chirag M Shah <chirag_m_shah at apple.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    A LayoutTests/fast/css/style-builder-type-confusion-crash-expected.txt
    A LayoutTests/fast/css/style-builder-type-confusion-crash.html
    M Source/WebCore/style/StyleBuilderConverter.h

  Log Message:
  -----------
  Fix type confusion in BuilderConverter::convertPathOperation
https://bugs.webkit.org/show_bug.cgi?id=255735
rdar://108253315

Reviewed by Chris Dumez.

This change fixes convertPathOperation so that it can deal with single
values instead of expecting a list of values towards the end.

* LayoutTests/fast/css/style-builder-type-confusion-crash-expected.txt: Added.
* LayoutTests/fast/css/style-builder-type-confusion-crash.html: Added.
* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertPathOperation):

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




More information about the webkit-changes mailing list