Bug 242770

Summary: webpushd should reject messages from newer protocol versions
Product: WebKit Reporter: Ben Nham <nham>
Component: WebKit Misc.Assignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

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.