Ignore:
Timestamp:
Jan 8, 2018 3:20:34 AM (7 years ago)
Author:
ming
Message:

Fixed #2079: Crash in pjsip due to race condition in account's keep alive timer

File:
1 edited

Legend:

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

    r5718 r5720  
    20002000 
    20012001    acc = (pjsua_acc*) te->user_data; 
     2002 
     2003    /* Check if the account is still active. It might have just been deleted 
     2004     * while the keep-alive timer was about to be called (race condition). 
     2005     */ 
     2006    if (acc->ka_transport == NULL) 
     2007        goto on_return; 
    20022008 
    20032009    /* Select the transport to send the packet */ 
Note: See TracChangeset for help on using the changeset viewer.