Changeset 2927


Ignore:
Timestamp:
Oct 6, 2009 1:33:21 PM (10 years ago)
Author:
bennylp
Message:

Ticket #964: Assertion when receiving SDP media with port 0 and without rtpmap attribute for the dynamic payload type formats (thanks Andrey Kovalenko for the report)

  • added SIPp scenario to test it with re-INVITE
  • minor: SDP parsing allow the last line without newline (required for SIPp)
Location:
pjproject/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sdp.c

    r2847 r2927  
    10201020    pj_scan_get(scanner, &cs_token, &attr->name); 
    10211021 
    1022     if (*scanner->curptr != '\r' && *scanner->curptr != '\n') { 
     1022    if (*scanner->curptr && *scanner->curptr != '\r' &&  
     1023        *scanner->curptr != '\n')  
     1024    { 
    10231025        /* skip ':' if present. */ 
    10241026        if (*scanner->curptr == ':') 
Note: See TracChangeset for help on using the changeset viewer.