[Webkit-unassigned] [Bug 206572] KeyedDecoderGeneric crashes when it accesses a data with empty string key.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 22 03:25:17 PST 2020


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

--- Comment #5 from Fujii Hironori <Hironori.Fujii at sony.com> ---
String::fromUTF8 will return a null string for invalid UTF-8 sequence.
You should check null-string after caling String::fromUTF8.

  result = String::fromUTF8(buffer.data(), size);

-- 
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/20200122/82ea7a00/attachment.htm>


More information about the webkit-unassigned mailing list