[Webkit-unassigned] [Bug 20069] CSSPrimitiveValue::parserValue() returns deleted memory
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 16 20:12:36 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20069
------- Comment #1 from eric at webkit.org 2008-07-16 20:12 PDT -------
In case you're wondering, valueOrPropertyName returns a char* which is
transparently copied to create a String:
static const char* valueOrPropertyName(int valueOrPropertyID)
{
if (const char* valueName = getValueName(valueOrPropertyID))
return valueName;
return getPropertyName(static_cast<CSSPropertyID>(valueOrPropertyID));
}
Seems sad that it would be copied. :(
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list