Changeset 3991


Ignore:
Timestamp:
Mar 29, 2012 4:17:06 AM (12 years ago)
Author:
nanang
Message:

Fix #1471: Just return PJ_FALSE on any incoming STUN packets after the STUN socket has been disassociated from ICE stream transport.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjnath/src/pjnath/ice_strans.c

    r3906 r3991  
    13921392 
    13931393    comp = (pj_ice_strans_comp*) pj_stun_sock_get_user_data(stun_sock); 
     1394    if (comp == NULL) { 
     1395        /* We have disassociated ourselves from the STUN socket */ 
     1396        return PJ_FALSE; 
     1397    } 
     1398 
    13941399    ice_st = comp->ice_st; 
    13951400 
Note: See TracChangeset for help on using the changeset viewer.