Bug 242770 - webpushd should reject messages from newer protocol versions
Summary: webpushd should reject messages from newer protocol versions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ben Nham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-14 14:52 PDT by Ben Nham
Modified: 2022-07-14 23:46 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Nham 2022-07-14 14:52:52 PDT
For forwards-compatibility reasons (e.g. new STP communicating with old webpushd that was installed with the OS), webpushd needs to be able to handle messages from clients with higher protocol message versions in a sane way. Currently it does nothing which will make upgrading the IPC version hard.
Comment 1 Radar WebKit Bug Importer 2022-07-14 14:53:17 PDT
<rdar://problem/97036744>
Comment 2 Ben Nham 2022-07-14 14:58:13 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2429
Comment 3 EWS 2022-07-14 23:46:11 PDT
Committed 252492@main (e0c0585c06fa): <https://commits.webkit.org/252492@main>

Reviewed commits have been landed. Closing PR #2429 and removing active labels.