Closed
Bug 856401
Opened 11 years ago
Closed 11 years ago
the SCTP library imported in bug 855620 crashes on WinXP in sctp_init_ifns_for_vrf
Categories
(Core :: WebRTC: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: jesup, Assigned: jesup)
References
Details
(Keywords: crash, Whiteboard: [webrtc][blocking-webrtc+][qa-])
Attachments
(2 files, 1 obsolete file)
2.59 KB,
text/plain
|
Details | |
2.24 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
Appears to be a missing null pointer check (one was removed since the last update we took).
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 731617 [details] [diff] [review] add back null-check from previous library version Try is at https://tbpl.mozilla.org/?tree=Try&rev=6e6215a166b4 Not certain this is the right solution
Attachment #731617 -
Flags: review?(tuexen)
Comment 3•11 years ago
|
||
I think there should be a loop through all addresses like in the IPv6 case. This also fixes the problem you encountered. This patch has been committed upstream in http://code.google.com/p/sctp-refimpl/source/detail?r=8443
Attachment #731622 -
Flags: review?(rjesup)
Comment 4•11 years ago
|
||
Comment on attachment 731617 [details] [diff] [review] add back null-check from previous library version Even this old code was wrong. It only considers the first address and doesn't loop through all of them like it is done in the IPv6 case. I updated the patch and committed it upstream. Please review the patch and consider committing them to the mc. I can't edit the review flags, so please change them appropriately.
Assignee | ||
Updated•11 years ago
|
Attachment #731617 -
Attachment is obsolete: true
Attachment #731617 -
Flags: review?(tuexen)
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 731622 [details] [diff] [review] Updated patch (committed upstream) Review of attachment 731622 [details] [diff] [review]: ----------------------------------------------------------------- r+, though I'll probably just update the library import instead. I suspect the XP test boxes don't have any adapters visible here, and so my patch which checks for NULL would also be safe (if not correct in a multi-interface machine). I suspect in the SCTP/DTLS case this is totally moot, though the SCTP library doesn't know that at init time.
Attachment #731622 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Try using rev 8443 https://tbpl.mozilla.org/?tree=Try&rev=116497e7f9b1
Assignee | ||
Comment 7•11 years ago
|
||
Fixed by checkin for bug 855620
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•11 years ago
|
Whiteboard: [webrtc][blocking-webrtc+] → [webrtc][blocking-webrtc+][qa-]
Updated•11 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•