Opened 10 years ago

Closed 10 years ago

#1791 closed defect (fixed)

Possible crash when trying to cancel sdp negotiation upon receiving UPDATE response

Reported by: riza Owned by: bennylp
Priority: normal Milestone: release-2.4
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

There is an application requirement for connected line support.
It is the ability to send an INVITE or UPDATE request which updates caller-id/connected-id information.
A GUI developer actually uses it to update the display to show what your external caller-id is when placing outgoing calls.
The normal scenario:

1. Caller send INVITE
2. Callee send 180 INVTE Resp
3. Caller send UPDATE (no SDP)
4. Callee send 200 UPDATE Resp

At the moment, the stack will try to cancel the offer and lead to a crash.
This ticket will cancel the offer upon receiving the UPDATE response, only when the UPDATE request include SDP offer.

Thanks to Joshua Colp for the report.

Change History (2)

comment:1 Changed 10 years ago by riza

  • Summary changed from Possible crash when trying to cancel sdp negotiation when receiving UPDATE response to Possible crash when trying to cancel sdp negotiation upon receiving UPDATE response

comment:2 Changed 10 years ago by riza

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

In 4926:

Fixed #1791: Fixed possible crash when trying to cancel sdp negotiation upon receiving UPDATE response.

Note: See TracTickets for help on using tickets.