[Webkit-unassigned] [Bug 216407] New: Safely handle overly-long CSS variable values
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 11 09:08:33 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216407
Bug ID: 216407
Summary: Safely handle overly-long CSS variable values
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: twilco.o at protonmail.com
Safely handle and reject long CSS variable values to prevent unbounded memory consumption.
https://drafts.csswg.org/css-variables/#long-variables
>From the spec:
.foo {
--prop1: lol;
--prop2: var(--prop1) var(--prop1);
--prop3: var(--prop2) var(--prop2);
--prop4: var(--prop3) var(--prop3);
/* expand to --prop30 */
}
Results in --prop30 containing ~1 billion instances of this identifier.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200911/e8342f0a/attachment.htm>
More information about the webkit-unassigned
mailing list