Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e37feef37670560656065489f151acb8a326ff0d
      
https://github.com/WebKit/WebKit/commit/e37feef37670560656065489f151acb8a326ff0d
  Author: Antti Koivisto <[email protected]>
  Date:   2025-12-04 (Thu, 04 Dec 2025)

  Changed paths:
    M Source/WebCore/css/parser/CSSParser.cpp

  Log Message:
  -----------
  Stack overflow in CSSParser::consumeQualifiedRule
https://bugs.webkit.org/show_bug.cgi?id=303535
rdar://161386920

Reviewed by Alan Baradlay.

Recursion here uses too much stack.

* Source/WebCore/css/parser/CSSParser.cpp:
(WebCore::CSSParser::consumeBlockContent):

Reduce stack use by moving this vector (a Vector<CSSProperty, 256>) to heap and 
constructing it lazily.

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



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

Reply via email to