Bug 310662
| Summary: | Fix empty TransferString being deserialized as null string | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Nham <nham> |
| Component: | WebKit Misc. | Assignee: | Ben Nham <nham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | commit-queue, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 310738 | ||
| Bug Blocks: | |||
Ben Nham
Sending an empty String instance over IPC via TransferString results in a null String instance on the receiver side. This is unexpected and can cause downstream issues. For instance, if the receiver then puts the unexpectedly null String in to a hash map, it will crash.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/173272865>
Ben Nham
Pull request: https://github.com/WebKit/WebKit/pull/61272
EWS
Committed 309942@main (a547e2d7692b): <https://commits.webkit.org/309942@main>
Reviewed commits have been landed. Closing PR #61272 and removing active labels.
WebKit Commit Bot
Re-opened since this is blocked by bug 310738
Ben Nham
Pull request: https://github.com/WebKit/WebKit/pull/61359
EWS
Committed 309962@main (0e087dfe1af1): <https://commits.webkit.org/309962@main>
Reviewed commits have been landed. Closing PR #61359 and removing active labels.