Ignore:
Timestamp:
Oct 1, 2009 12:07:04 PM (15 years ago)
Author:
bennylp
Message:

Ticket #961 (1.4.5 branch): Assertion upon receiving malformed SIP messages (thanks Andrey Kovalenko for the report)

Location:
pjproject/branches/adhocs/1.4.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/adhocs/1.4.5

  • pjproject/branches/adhocs/1.4.5/pjsip/src/pjsip/sip_transaction.c

    r2857 r2921  
    28412841            /* Process incoming ACK request. */ 
    28422842 
     2843            /* Verify that this is an INVITE transaction */ 
     2844            if (tsx->method.id != PJSIP_INVITE_METHOD) { 
     2845                PJ_LOG(2, (tsx->obj_name,  
     2846                           "Received illegal ACK for %.*s transaction", 
     2847                           (int)tsx->method.name.slen, 
     2848                           tsx->method.name.ptr)); 
     2849                return PJSIP_EINVALIDMETHOD; 
     2850            } 
     2851 
    28432852            /* Cease retransmission. */ 
    28442853            if (tsx->retransmit_timer.id != 0) { 
Note: See TracChangeset for help on using the changeset viewer.