Opened 5 years ago

Closed 5 years ago

#1798 closed defect (fixed)

Crash upon receiving re-INVITE to restart ICE after failed STUN (thanks to Itay Bianco for the report and patch)

Reported by: ming Owned by: nanang
Priority: normal Milestone: release-2.4
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Scenario:

  1. A calls B with ICE
  2. A sends re-INVITE with new candidates from new connection
  3. STUN between A and B fails
  4. A sends re-INVITE with new candidates on the first connection

again

  1. B crashes

The crash is caused due to ICE encode_session_in_sdp() failure to generate a new pair of ufrag/pwd despite being told to restart the session. This causes pjmedia_transport_start() to crash later.

Change History (1)

comment:1 Changed 5 years ago by ming

  • Resolution set to fixed
  • Status changed from new to closed

In 4949:

Fixed #1798: Crash upon receiving re-INVITE to restart ICE after failed STUN

Note: See TracTickets for help on using tickets.