Bug 278213
Summary: | Add a way to log which part of a serialized object failed IPC decoding | ||
---|---|---|---|
Product: | WebKit | Reporter: | Charlie Wolfe <charliew> |
Component: | WebKit Process Model | Assignee: | Charlie Wolfe <charliew> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | nham, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Charlie Wolfe
Sometimes, we receive crash reports caused by WebContent receiving an invalid IPC message. While we log which IPC message was invalid, we do not know which part of the message caused the decoding failure. This patch introduces a way to log the specific part of a serialized object that failed IPC decoding. This is particularly important for IPC messages that send large objects, such as `WebPageCreationParameters` or `WebProcessCreationParameters`, which contain numerous objects with validators that could potentially cause a crash.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/134011298>
Charlie Wolfe
Pull request: https://github.com/WebKit/WebKit/pull/32285
EWS
Committed 282362@main (a56e4d9687cd): <https://commits.webkit.org/282362@main>
Reviewed commits have been landed. Closing PR #32285 and removing active labels.
EWS
Committed 280938.243@safari-7619-branch (ae9efaf1fa7c): <https://commits.webkit.org/280938.243@safari-7619-branch>
Reviewed commits have been landed. Closing PR #1613 and removing active labels.