Changeset 2168


Ignore:
Timestamp:
Jul 23, 2008 9:59:11 AM (16 years ago)
Author:
bennylp
Message:

Fixed crash in stateful proxy sample when receiving request with malformed CSeq header (thanks Brocha Strous)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/stateful_proxy.c

    r2039 r2168  
    451451     *  - receipt of 2xx response to INVITE 
    452452     */ 
    453     if (tsx->state == PJSIP_TSX_STATE_TERMINATED && uac_data->uas_tsx) { 
     453    if (tsx->state == PJSIP_TSX_STATE_TERMINATED && uac_data && 
     454        uac_data->uas_tsx)  
     455    { 
    454456 
    455457        pjsip_transaction *uas_tsx; 
Note: See TracChangeset for help on using the changeset viewer.