Description[CSS Shapes] CRASH with calc() value args in inset round
The code to parse the inset rounded corners was adding the parser
value arguments to a temporary CSSParserValueList. Unfortunately,
CSSParserValueList expects to own the values it contains, and it frees
the values it contains when the list is destroyed. This was a problem
because the values are owned by the CSSParserValueList passed in to
parseInsetRoundedCorners, and thus the calc's argument list would get
double freed, resulting in a crash. This patch fixes this by using a
Vector to hold the pointers instead.
This is a merge of http://trac.webkit.org/changeset/166726 by Bem Jones-Bey <bjonesbe@adobe.com>.
BUG=350055
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170799
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|