[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 01:02:11 PST 2020


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

--- Comment #8 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Comment on attachment 388524
  --> https://bugs.webkit.org/attachment.cgi?id=388524
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=388524&action=review

> Source/WebCore/platform/generic/KeyedDecoderGeneric.cpp:61
> +        result = emptyString();

I think if String::fromUTF8 is failed, a null string and false should be returned.

Of course, an empty string should be return for size == 0 case.

WDTY?

-- 
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/39a2d7a2/attachment.htm>


More information about the webkit-unassigned mailing list