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)

x86_64
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: jesup, Assigned: jesup)

References

Details

(Keywords: crash, Whiteboard: [webrtc][blocking-webrtc+][qa-])

Attachments

(2 files, 1 obsolete file)

Attached file Callstack
Appears to be a missing null pointer check (one was removed since the last update we took).
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)
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 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.
Attachment #731617 - Attachment is obsolete: true
Attachment #731617 - Flags: review?(tuexen)
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+
Fixed by checkin for bug 855620
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Whiteboard: [webrtc][blocking-webrtc+] → [webrtc][blocking-webrtc+][qa-]
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: