Ignore:
Timestamp:
Apr 2, 2008 6:36:35 PM (16 years ago)
Author:
bennylp
Message:

Ticket #520: Race condition may cause ioqueue corruption (thanks Philippe Leuba)

File:
1 edited

Legend:

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

    r1868 r1905  
    446446    pj_assert(ioqueue->count > 0); 
    447447    --ioqueue->count; 
     448#if !PJ_IOQUEUE_HAS_SAFE_UNREG 
     449    /* Ticket #520, key will be erased more than once */ 
    448450    pj_list_erase(key); 
     451#endif 
    449452    PJ_FD_CLR(key->fd, &ioqueue->rfdset); 
    450453    PJ_FD_CLR(key->fd, &ioqueue->wfdset); 
Note: See TracChangeset for help on using the changeset viewer.