Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parasite: take into account the fact that a file descriptor can be zero
6. Condition "rst > 0", taking false branch 7. off_by_one: Testing whether handle "rst" is strictly greater than zero is suspicious. Did you intend to include equality with zero? "rst" leaks when it is zero. CID 1072986 (cyrillos#3 of 4): Resource leak (RESOURCE_LEAK) 12. leaked_handle: Handle variable "rst" going out of scope leaks the handle.
- Loading branch information