Changeset 244672 in webkit


Ignore:
Timestamp:
Apr 25, 2019 5:23:55 PM (5 years ago)
Author:
youenn@apple.com
Message:

Make sure sockets file descriptors are in the correct range
https://bugs.webkit.org/show_bug.cgi?id=197301
<rdar://problem/48389381>

Reviewed by Chris Dumez.

  • Source/webrtc/rtc_base/physicalsocketserver.cc:
  • WebKit/0001-fix-197301.patch: Added.
Location:
trunk/Source/ThirdParty/libwebrtc
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/libwebrtc/ChangeLog

    r244653 r244672  
     12019-04-25  Youenn Fablet  <youenn@apple.com>
     2
     3        Make sure sockets file descriptors are in the correct range
     4        https://bugs.webkit.org/show_bug.cgi?id=197301
     5        <rdar://problem/48389381>
     6
     7        Reviewed by Chris Dumez.
     8
     9        * Source/webrtc/rtc_base/physicalsocketserver.cc:
     10        * WebKit/0001-fix-197301.patch: Added.
     11
    1122019-04-25  Alex Christensen  <achristensen@webkit.org>
    213
  • trunk/Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/physicalsocketserver.cc

    r237970 r244672  
    14251425        // FD_SETSIZE will result in undefined behavior.
    14261426        RTC_DCHECK_LT(fd, FD_SETSIZE);
     1427        if (fd < 0 || fd >= FD_SETSIZE)
     1428            continue;
    14271429        if (fd > fdmax)
    14281430          fdmax = fd;
Note: See TracChangeset for help on using the changeset viewer.