[Webkit-unassigned] [Bug 281892] New: PAL::TextCodec::getUnencodableReplacement() should return std::span
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 21 20:50:34 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=281892
Bug ID: 281892
Summary: PAL::TextCodec::getUnencodableReplacement() should
return std::span
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ddkilzer at webkit.org
PAL::TextCodec::getUnencodableReplacement() should return std::span.
Currently it returns an `int` length, but two out of three uses change that into a `std::span` anyway, and the third passes `data()` and `size_bytes()` into another function as separate parameters.
Found by std::span static analysis checker under development.
--
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/20241022/c6d1aab3/attachment.htm>
More information about the webkit-unassigned
mailing list