Changeset 5849 for pjproject


Ignore:
Timestamp:
Aug 1, 2018 8:05:16 AM (6 years ago)
Author:
ming
Message:

Re #2091: Fixed crash in pj_ioqueue_poll() when iterating keys with closed sockets, which because of r5778, is now set to PJ_INVALID_SOCKET

Note: the crash will happen in PJ_FD_ISSET(h->fd, ...)

File:
1 edited

Legend:

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

    r5778 r5849  
    10051005         h = h->next) 
    10061006    { 
     1007        if (h->fd == PJ_INVALID_SOCKET) 
     1008            continue; 
    10071009 
    10081010        if ( (key_has_pending_write(h) || key_has_pending_connect(h)) 
Note: See TracChangeset for help on using the changeset viewer.