Closed
Bug 1388372
Opened 7 years ago
Closed 7 years ago
Fix assert and null check properly to account for the pass-through mode in gUM
Categories
(Core :: WebRTC: Audio/Video, defect)
Core
WebRTC: Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla57
People
(Reporter: padenot, Assigned: padenot)
Details
(Keywords: csectype-nullptr)
Attachments
(1 file, 2 obsolete files)
2.25 KB,
patch
|
lizzard
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
null-ed here [0] if the right constraints are set.
[0]: http://searchfox.org/mozilla-central/source/dom/media/webrtc/MediaEngineWebRTCAudio.cpp#399
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → padenot
Group: core-security
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Attachment #8894893 -
Flags: review?(rjesup)
Updated•7 years ago
|
Attachment #8894893 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 4•7 years ago
|
||
This is quite recent, from bug 1372247, only present in current beta and nightly, and we're right at the start of the cycle.
Updated•7 years ago
|
Keywords: csectype-nullptr
Comment 5•7 years ago
|
||
nullptr only, so not a sec issue
Assignee | ||
Comment 6•7 years ago
|
||
Attachment #8894889 -
Attachment is obsolete: true
Attachment #8894893 -
Attachment is obsolete: true
Assignee | ||
Comment 7•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
status-firefox56:
--- → affected
Updated•7 years ago
|
Group: core-security
Assignee | ||
Comment 8•7 years ago
|
||
Comment on attachment 8894962 [details] [diff] [review]
patch + crashtest
Approval Request Comment
[Feature/Bug causing the regression]: 1330360
[User impact if declined]: content process crash
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: just landed in nightly
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: none
[Is the change risky?]: no
[Why is the change risky/not risky?]: it's just a nullcheck
[String changes made/needed]: none
Attachment #8894962 -
Flags: approval-mozilla-beta?
Comment 9•7 years ago
|
||
Backed out for failing own crashtest, at least on OS X and Android:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3eb6f350efc46346b7b2df48c820057d2eb8f6b9
Push which ran failing tests: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=ee77b27b55e4d743b801514ea7d76a652f161873&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=121959337&repo=mozilla-inbound
04:05:38 INFO - REFTEST TEST-START | file:///Users/cltbld/tasks/task_1502276576/build/tests/reftest/tests/dom/media/test/crashtests/1388372.html
04:05:38 INFO - REFTEST INFO | SET PREFERENCE pref(media.navigator.permission.disabled,true)
04:05:38 INFO - REFTEST TEST-LOAD | file:///Users/cltbld/tasks/task_1502276576/build/tests/reftest/tests/dom/media/test/crashtests/1388372.html | 553 / 3258 (16%)
04:10:38 INFO - REFTEST TEST-UNEXPECTED-FAIL | file:///Users/cltbld/tasks/task_1502276576/build/tests/reftest/tests/dom/media/test/crashtests/1388372.html | load failed: timed out waiting for reftest-wait to be removed
Flags: needinfo?(padenot)
Comment 10•7 years ago
|
||
Pushed by paul@paul.cx:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ef86fe4304ee
Fix assert and null check properly to account for the pass-through mode in gUM. r=jesup
Assignee | ||
Comment 11•7 years ago
|
||
re-pushed with fake: true in the crashtest's getUserMedia request, for machines that don't have input devices (osx, android).
Flags: needinfo?(padenot)
Comment 12•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Comment 13•7 years ago
|
||
Comment on attachment 8894962 [details] [diff] [review]
patch + crashtest
Crash fix, includes a test fix. OK for beta uplift.
Attachment #8894962 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 14•7 years ago
|
||
bugherder uplift |
Comment 15•7 years ago
|
||
(In reply to Paul Adenot (:padenot) from comment #8)
> [Is this code covered by automated tests?]: yes
> [Has the fix been verified in Nightly?]: just landed in nightly
> [Needs manual test from QE? If yes, steps to reproduce]: no
Setting qe-verify- based on Paul's assessment on manual testing needs and the fact that this fix has automated coverage.
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•