Changeset 1554


Ignore:
Timestamp:
Nov 6, 2007 8:48:02 AM (12 years ago)
Author:
bennylp
Message:

Validate SDP in incoming message before passing it to negotiator (otherwise assertion will occur if SDP contains error)

File:
1 edited

Legend:

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

    r1475 r1554  
    14071407                               (char*)msg->body->data, 
    14081408                               msg->body->len, &sdp); 
     1409    if (status == PJ_SUCCESS) 
     1410        status = pjmedia_sdp_validate(sdp); 
     1411 
    14091412    if (status != PJ_SUCCESS) { 
    14101413        char errmsg[PJ_ERR_MSG_SIZE]; 
Note: See TracChangeset for help on using the changeset viewer.