Closed Bug 814741 Opened 13 years ago Closed 13 years ago

WebRTC crash [@nr_ice_peer_ctx_parse_global_attributes]

Categories

(Core :: WebRTC, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 817431

People

(Reporter: posidron, Assigned: ekr)

References

Details

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

Crash Data

Attachments

(2 files)

Attached file callstack
Assertion failed: (strlen(str) == 0), function nr_ice_peer_ctx_parse_global_attributes, file /Users/cdiehl/Code/Mozilla/mc-inbound-asan/media/mtransport/third_party/nICEr/src/ice/ice_parser.c Tested with m-i changeset: 113726:0c4a3db883da
This basically is asserting that we've correctly parsed the data in a global attribute received from the other side. If the data for the option includes garbage (or no data is expected), when we end up assert()ing. Probably the assert here should do what we do on various other parse failures and ABORT(R_BAD_DATA). This also applies to a number of the other parse routines here, which also have the same sort of assert. At least one had already had the change made.
Actually, in a number of cases these shouldn't even be errors, becuase the grammar allows extra data. I had to change one of these to get interop with Google, who put extra stuff in the candidate lines. So what we need to do is audit these for where extensions are allowed.
Flags: in-testsuite-
Priority: -- → P2
Whiteboard: [WebRTC],[blocking-webrtc+]
Assigned to ekr, but added Jan-Ivar; another bug he could delve into with some pointers at relevant specs.
Assignee: nobody → ekr
OS: Mac OS X → All
Hardware: x86_64 → All
This is a dup of 817431
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: