Changeset 246682 in webkit
- Timestamp:
- Jun 21, 2019 10:12:36 AM (5 years ago)
- Location:
- trunk/Source/ThirdParty/libwebrtc
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/ThirdParty/libwebrtc/ChangeLog
r246358 r246682 1 2019-06-21 Youenn Fablet <youenn@apple.com> 2 3 Make sure to check for file descriptor value before using FD_CLR 4 https://bugs.webkit.org/show_bug.cgi?id=199097 5 <rdar://problem/51479074> 6 7 Reviewed by Eric Carlson. 8 9 * Source/webrtc/rtc_base/physicalsocketserver.cc: 10 * WebKit/0001-fix-fd-clr.patch: Added. 11 1 12 2019-06-12 Youenn Fablet <youenn@apple.com> 2 13 -
trunk/Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/physicalsocketserver.cc
r244672 r246682 1425 1425 // FD_SETSIZE will result in undefined behavior. 1426 1426 RTC_DCHECK_LT(fd, FD_SETSIZE); 1427 #if defined(WEBRTC_WEBKIT_BUILD) 1427 1428 if (fd < 0 || fd >= FD_SETSIZE) 1428 1429 continue; 1430 #endif 1429 1431 if (fd > fdmax) 1430 1432 fdmax = fd; … … 1463 1465 for (Dispatcher* pdispatcher : dispatchers_) { 1464 1466 int fd = pdispatcher->GetDescriptor(); 1465 1467 #if defined(WEBRTC_WEBKIT_BUILD) 1468 if (fd < 0 || fd >= FD_SETSIZE) 1469 continue; 1470 #endif 1466 1471 bool readable = FD_ISSET(fd, &fdsRead); 1467 1472 if (readable) {
Note: See TracChangeset
for help on using the changeset viewer.