[Webkit-unassigned] [Bug 30347] Uninitialized conditional in WebCore::CSSParser::validUnit with "width: %" style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 13 16:36:09 PDT 2009


--- Comment #2 from Darin Adler <darin at apple.com>  2009-10-13 16:36:09 PDT ---
(From update of attachment 41137)
I think a better fix for this would be to move the negative number check after
the switch statement in CSSParser::validUnit.

    if (b && unitflags & FNonNeg && value->fValue < 0)
        b = false;

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list