[Webkit-unassigned] [Bug 178207] UTF-8 decoding produces incorrect results when an erroneous byte sequence is split into multiple chunks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 14 15:04:38 PDT 2017


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

Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|webkit-unassigned at lists.web |darin at apple.com
                   |kit.org                     |

--- Comment #4 from Darin Adler <darin at apple.com> ---
I think I’ll fix this.

This might be better tested by writing a unit test for TextCodecUTF8 rather than trying to use a layout test. That would avoid the dependency on buffer sizes. I don’t know where the knowledge that a buffer is 4kB comes from and I would not want the test to stop being effective if we switched to, say, an 8kB buffer size.

I also think a better fix would be to get rid of the handleError function; it’s not really working well.

-- 
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/20171014/b26a6e60/attachment.html>


More information about the webkit-unassigned mailing list