Ignore:
Timestamp:
Feb 26, 2019 3:40:57 AM (3 years ago)
Author:
nanang
Message:

Re #2150: Fixed crash in SIP TLS transport after TCP socket accept error, e.g: after wakeup from background on iOS. Thanks Marcus Froeschl for the report.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c

    r5935 r5936  
    17131713                      errmsg)); 
    17141714 
    1715             if (*ssock->param.cb.on_accept_complete2) { 
     1715            if (ssock->param.cb.on_accept_complete2) { 
    17161716                (*ssock->param.cb.on_accept_complete2)  
    17171717                      (ssock->parent, ssock, (pj_sockaddr_t*)&ssock->rem_addr,  
     
    25502550 
    25512551        if (ssock->param.cb.on_accept_complete2) { 
    2552             (*ssock->param.cb.on_accept_complete2) (ssock->parent, ssock,  
     2552            (*ssock->param.cb.on_accept_complete2) (ssock, NULL,  
    25532553                                                    src_addr, src_addr_len,  
    25542554                                                    status); 
Note: See TracChangeset for help on using the changeset viewer.