Bug 264619
| Summary: | Add assertions to ensure memcpySpan and memsetSpan are used on trivially copyable spans | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | Web Template Framework | Assignee: | Michael Catanzaro <mcatanzaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Michael Catanzaro
Add assertions to ensure memcpySpan and memsetSpan are used on trivially copyable spans
Bad things are likely to happen if used on objects with custom constructors or destructors or assignment operators, because they won't be executed. Add safety checks for this.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Pull request: https://github.com/WebKit/WebKit/pull/20330
EWS
Committed 270796@main (3ae0cd09762d): <https://commits.webkit.org/270796@main>
Reviewed commits have been landed. Closing PR #20330 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/118483239>