Ignore:
Timestamp:
Jun 2, 2010 3:03:43 AM (9 years ago)
Author:
bennylp
Message:

Fixed #1092 (Crash when receiving various messages with "Contact: *" header format)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c

    r2923 r3190  
    170170                  pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_CONTACT, 
    171171                                     NULL); 
    172     if (contact_hdr) { 
     172    if (contact_hdr && contact_hdr->uri) { 
    173173        contact.ptr = (char*) pj_pool_alloc(rdata->tp_info.pool,  
    174174                                            PJSIP_MAX_URL_SIZE); 
Note: See TracChangeset for help on using the changeset viewer.