Changeset 2692


Ignore:
Timestamp:
May 12, 2009 10:11:10 AM (10 years ago)
Author:
bennylp
Message:

Fixed ticket #839: Crash in TURN lookup_ch_by_addr() function when sending data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/turn_session.c

    r2602 r2692  
    17691769     * during refreshing. 
    17701770     */ 
    1771     lookup_perm(sess, &ch->addr, pj_sockaddr_get_len(&ch->addr), PJ_TRUE); 
     1771    if (ch && update) { 
     1772        lookup_perm(sess, &ch->addr, pj_sockaddr_get_len(&ch->addr), PJ_TRUE); 
     1773    } 
    17721774 
    17731775    return ch; 
Note: See TracChangeset for help on using the changeset viewer.