[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
Thu Jan 23 00:59:01 PST 2020


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

--- Comment #7 from Takashi Komori <Takashi.Komori at sony.com> ---
(In reply to Fujii Hironori from comment #5)
> 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);

Fixed.

-- 
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/20200123/0d7e124b/attachment.htm>


More information about the webkit-unassigned mailing list