[Webkit-unassigned] [Bug 205902] KeyedDecoderGeneric crashes when it accesses data with non-existing key
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 13 19:58:58 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=205902
--- Comment #11 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Comment on attachment 387603
--> https://bugs.webkit.org/attachment.cgi?id=387603
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=387603&action=review
> Tools/TestWebKitAPI/Tests/WebCore/KeyedCoding.cpp:80
> +template <typename EncodeValueType, typename DecodeValueType> typename std::enable_if<std::is_same<EncodeValueType, DecodeValueType>::value, bool>::type testSimpleValueDecode(bool decodeSuccess, EncodeValueType expected, DecodeValueType decoded)
Use is_same_v instead of is_same.
Use constexpr if instead of SFINAE.
--
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/20200114/52cdec8e/attachment.htm>
More information about the webkit-unassigned
mailing list