[Webkit-unassigned] [Bug 209579] Escaped UTF-8 not parsed correctly with icu 52

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 1 07:52:26 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=209579

--- Comment #11 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Mike Gorse from comment #0)
> Anyhow, prior to icu 53, U8_COUNT_TRAIL_BYTES does not cast its parameter to
> unsigned before doing comparisons, and it ends up always returning 0 if a
> signed char is passed in.

Oh, *wow*, so this is a runtime failure, not a build failure?

I didn't look closely enough at first and assumed it was a build failure. Since this is a runtime failure, and distributors updating WebKit will not see any build error, that seems like a pretty strong argument to take the patch; otherwise, we'll just wind up with broken behavior at runtime. Is there some example HTML that demonstrates the incorrect behavior?

-- 
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/20200401/98a6cd36/attachment-0001.htm>


More information about the webkit-unassigned mailing list