Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize fd_set in MythSystemLegacyIOHandler ctor
Static analysis detected that the fd_set was not being initialized in the ctor. While correct from a static analysis POV, the structure was being initialized elsewhere before use. To make static analysis happy, initialize the fd_set. Fixes coverity 1028698 Note that coverity may not properly understand that the use of the provided FD_ZERO macro will properly initialize the structure since on some platforms (i.e. x86) the macro turns into inline assembly code. In the case that adding the patch does not eliminate the coverity issue, one will need to manually acknowledge the defect. Fixes #11625. Signed-off-by: Paul Harrison <pharrison@mythtv.org>
- Loading branch information