Changeset 4872


Ignore:
Timestamp:
Jul 9, 2014 6:43:32 AM (10 years ago)
Author:
riza
Message:

Misc (re #1751): fix crash when receiving unhold message caused by access to invalid data as a result of pool reset (Thanks to Itay Bianco for the report).

File:
1 edited

Legend:

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

    r4712 r4872  
    503503        neg->neg_local_sdp = pjmedia_sdp_session_clone(pool, local); 
    504504        if (neg->initial_sdp) { 
     505            /* Retain initial_sdp value. */ 
     506            neg->initial_sdp = pjmedia_sdp_session_clone(pool, 
     507                                                         neg->initial_sdp); 
     508         
    505509            /* I don't think there is anything in RFC 3264 that mandates 
    506510             * answerer to place the same origin (and increment version) 
Note: See TracChangeset for help on using the changeset viewer.