Changeset 2304 for pjproject/trunk


Ignore:
Timestamp:
Sep 21, 2008 10:55:43 PM (16 years ago)
Author:
bennylp
Message:

Ticket #640: Crash when receiving ACK with SDP after BYE has been received (thanks Amit Sharma for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c

    r2058 r2304  
    425425        { 
    426426            /* Before we terminate INVITE transaction, process the SDP 
    427              * in the ACK request, if any. 
     427             * in the ACK request, if any.  
     428             * Only do this when invite state is not already disconnected 
     429             * (http://trac.pjsip.org/repos/ticket/640). 
    428430             */ 
    429             inv_check_sdp_in_incoming_msg(inv, inv->invite_tsx, rdata); 
     431            if (inv->state < PJSIP_INV_STATE_DISCONNECTED) { 
     432                inv_check_sdp_in_incoming_msg(inv, inv->invite_tsx, rdata); 
     433            } 
    430434 
    431435            /* Now we can terminate the INVITE transaction */ 
Note: See TracChangeset for help on using the changeset viewer.