Closed Bug 803875 Opened 12 years ago Closed 12 years ago

WebRTC crash [@sipcc::MediaConstraints::buildArray]

Categories

(Core :: WebRTC: Signaling, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla19
Tracking Status
firefox18 --- disabled
firefox19 --- fixed
firefox-esr10 --- unaffected
firefox-esr17 --- unaffected

People

(Reporter: posidron, Assigned: ehugg)

References

Details

(Keywords: crash, testcase, Whiteboard: [qa-][adv-main19-])

Crash Data

Attachments

(2 files)

Attached file callstack
Run: media/webrtc/signaling/test/signaling_unittests --gtest_filter=SignalingTest.CreateOfferNoVideoStream
Assignee: nobody → ethanhugg
Comment on attachment 673986 [details] [diff] [review]
MediaConstraints - off-by-one error in sstrncpy calls


Length passed into sstrncpy should be the same as the buffer size.
Attachment #673986 - Flags: review?(rjesup)
Attachment #673986 - Flags: review?(rjesup) → review+
Crash Signature: [@ sipcc::MediaConstraints::buildArray]
Attachment #673986 - Flags: checkin?(rjesup)
Recently introduced bug; no sec-approval needed.

https://hg.mozilla.org/integration/mozilla-inbound/rev/a1925dde08ba
Target Milestone: --- → mozilla19
Attachment #673986 - Flags: checkin?(rjesup) → checkin+
https://hg.mozilla.org/mozilla-central/rev/a1925dde08ba
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
So does our existing unit test cover this change?
media/webrtc/signaling/test/signaling_unittests.cpp:547

    ASSERT_EQ(pc->CreateAnswer(constraints, NS_OK);

misses a ')'
Whiteboard: [qa-]
This was fixed last night in a patch to Bug 729541


(In reply to Christoph Diehl [:cdiehl] from comment #6)
> media/webrtc/signaling/test/signaling_unittests.cpp:547
> 
>     ASSERT_EQ(pc->CreateAnswer(constraints, NS_OK);
> 
> misses a ')'
Status: RESOLVED → VERIFIED
The comments above imply the unittest was fixed. Not crashtest worthy, as a unit test already covers this.
Flags: in-testsuite? → in-testsuite+
Marking as status "disabled" for 18 since that's what we do for WebRTC issues that are pref'd off in 18.
Whiteboard: [qa-] → [qa-][adv-main19-]
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: