RESOLVED FIXED 207376
Do not process RTC Network messages coming from NetworkProcess if LibWebRTCNetwork is not active
https://bugs.webkit.org/show_bug.cgi?id=207376
Summary Do not process RTC Network messages coming from NetworkProcess if LibWebRTCNe...
youenn fablet
Reported 2020-02-07 00:54:50 PST
Early return in LibWebRTCProvider::callOnWebRTCXXXThread if thread is not initialized
Attachments
Patch (2.18 KB, patch)
2020-02-07 00:57 PST, youenn fablet
no flags
Patch (4.97 KB, patch)
2020-02-07 02:31 PST, youenn fablet
no flags
Patch for landing (5.11 KB, patch)
2020-03-10 04:21 PDT, youenn fablet
no flags
Patch (4.15 KB, patch)
2020-04-14 03:18 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2020-02-07 00:57:28 PST
youenn fablet
Comment 2 2020-02-07 02:31:59 PST
youenn fablet
Comment 3 2020-03-10 03:30:16 PDT
WebKit Commit Bot
Comment 4 2020-03-10 03:30:29 PDT
Comment on attachment 390070 [details] Patch Rejecting attachment 390070 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 390070, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Logging in as commit-queue@webkit.org... Fetching: https://bugs.webkit.org/attachment.cgi?id=390070&action=edit Fetching: https://bugs.webkit.org/show_bug.cgi?id=207376&ctype=xml&excludefield=attachmentdata Processing 1 patch from 1 bug. Processing patch 390070 from bug 207376. Fetching: https://bugs.webkit.org/attachment.cgi?id=390070 Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Eric Carlson']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 3 diffs from patch file(s). patching file Source/WebKit/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp Hunk #1 FAILED at 110. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp.rej patching file Source/WebKit/WebProcess/Network/webrtc/LibWebRTCNetwork.h Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Eric Carlson']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: https://webkit-queues.webkit.org/results/13337568
youenn fablet
Comment 5 2020-03-10 04:21:14 PDT
Created attachment 393135 [details] Patch for landing
WebKit Commit Bot
Comment 6 2020-03-10 05:50:03 PDT
Comment on attachment 393135 [details] Patch for landing Clearing flags on attachment: 393135 Committed r258200: <https://trac.webkit.org/changeset/258200>
WebKit Commit Bot
Comment 7 2020-03-10 05:50:05 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 8 2020-03-18 21:06:56 PDT
Comment on attachment 390070 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390070&action=review > Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp:113 > + auto& libWebRTCNetwork = WebProcess::singleton().libWebRTCNetwork(); I’d have named the local variable just "network" since it’s unambiguous in this local scope.
youenn fablet
Comment 9 2020-04-14 03:18:45 PDT
Reopening to attach new patch.
youenn fablet
Comment 10 2020-04-14 03:18:47 PDT
youenn fablet
Comment 11 2020-04-14 04:22:44 PDT
(In reply to Darin Adler from comment #8) > Comment on attachment 390070 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=390070&action=review > > > Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp:113 > > + auto& libWebRTCNetwork = WebProcess::singleton().libWebRTCNetwork(); > > I’d have named the local variable just "network" since it’s unambiguous in > this local scope. Changed in landing patch.
EWS
Comment 12 2020-04-14 04:26:32 PDT
Committed r260068: <https://trac.webkit.org/changeset/260068> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396396 [details].
Note You need to log in before you can comment on or make changes to this bug.