Summary: | Make sure to check for file descriptor value before using FD_CLR | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||
Component: | WebRTC | Assignee: | youenn fablet <youennf> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, eric.carlson, webkit-bug-importer, youennf | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
youenn fablet
2019-06-20 19:05:01 PDT
Created attachment 372609 [details]
Patch
Comment on attachment 372609 [details]
Patch
Is it worth adding a GetDescriptor() check in ProcessEvents, or is getsockopt() with an invalid file descriptor harmless?
(In reply to Eric Carlson from comment #3) > Comment on attachment 372609 [details] > Patch > > Is it worth adding a GetDescriptor() check in ProcessEvents, or is > getsockopt() with an invalid file descriptor harmless? I think this is fine, ProcessEvents should only be called with a dispatcher with a valid descriptor. Comment on attachment 372609 [details] Patch Clearing flags on attachment: 372609 Committed r246682: <https://trac.webkit.org/changeset/246682> All reviewed patches have been landed. Closing bug. |