Closed
Bug 1334840
Opened 9 years ago
Closed 9 years ago
We can Reconfigure the send codec before we create the SendStream
Categories
(Core :: WebRTC, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla54
| Tracking | Status | |
|---|---|---|
| firefox52 | --- | unaffected |
| firefox53 | --- | fixed |
| firefox54 | --- | fixed |
People
(Reporter: jesup, Assigned: jesup)
Details
(Keywords: crash, csectype-nullptr)
Attachments
(1 file, 2 obsolete files)
|
2.97 KB,
patch
|
ng
:
review+
gchang
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This will cause a crash, since we dereference mSendStream.
Due to the webrtc49 landing
| Assignee | ||
Comment 1•9 years ago
|
||
MozReview-Commit-ID: Aj9EH0sHkOS
Attachment #8831481 -
Flags: review?(na-g)
| Assignee | ||
Comment 2•9 years ago
|
||
forgot the caller is responsible for releasing the frame
Attachment #8831539 -
Flags: review?(na-g)
| Assignee | ||
Updated•9 years ago
|
Attachment #8831481 -
Attachment is obsolete: true
Attachment #8831481 -
Flags: review?(na-g)
| Assignee | ||
Comment 3•9 years ago
|
||
one additional spot where mSendStream can get used before StartTransmitting
Attachment #8831540 -
Flags: review?(na-g)
| Assignee | ||
Updated•9 years ago
|
Attachment #8831539 -
Attachment is obsolete: true
Attachment #8831539 -
Flags: review?(na-g)
Comment 4•9 years ago
|
||
Comment on attachment 8831540 [details] [diff] [review]
handle ReconfigureSendCodec before StartTransmitting
Review of attachment 8831540 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. r+
Attachment #8831540 -
Flags: review?(na-g) → review+
Pushed by rjesup@wgate.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d842007ad15f
handle ReconfigureSendCodec before StartTransmitting r=ng
Updated•9 years ago
|
Rank: 15
Priority: -- → P1
Comment 7•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
| Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8831540 [details] [diff] [review]
handle ReconfigureSendCodec before StartTransmitting
Approval Request Comment
[Feature/Bug causing the regression]: Webrtc.org 49 branch landing (in 53)
[User impact if declined]: race condition causing null-derefs when creating webrtc calls
[Is this code covered by automated tests?]: no, timing related (the code gets lots of coverage, but nothing catches the race). Found in a local debug build when working with a patch that changed timing.
[Has the fix been verified in Nightly?]: yes
[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?]: Adds null checks
[String changes made/needed]: none
Flags: needinfo?(rjesup)
Attachment #8831540 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
status-firefox52:
--- → unaffected
Comment 9•9 years ago
|
||
Comment on attachment 8831540 [details] [diff] [review]
handle ReconfigureSendCodec before StartTransmitting
Fix a potential crash. Aurora53+.
Attachment #8831540 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 10•9 years ago
|
||
| bugherder uplift | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•