[webkit-reviews] review granted: [Bug 200206] wpt/css/css-images/gradient/color-stops-parsing.html crashes : [Attachment 375047] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 15 10:02:47 PDT 2019

Carlos Alberto Lopez Perez <clopez at igalia.com> has granted Simon Fraser (smfr)
<simon.fraser at apple.com>'s request for review:
Bug 200206: wpt/css/css-images/gradient/color-stops-parsing.html crashes

Attachment 375047: Patch


--- Comment #3 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
Comment on attachment 375047
  --> https://bugs.webkit.org/attachment.cgi?id=375047

I also found this crash when working on bug 200716 and I locally simply fixed
it by null-checking stop.m_color, but I like much more your fix.
This sharing of the code you did inside this new function writeColorStop() is

More information about the webkit-reviews mailing list