Haiku - Fix an issue detected by Coverity (2)
Coverity Prevent is a static code analysis tool for C, C++, C# and Java source code. It is a commercial product which originated as the Stanford Checker, which used abstract interpretation to identify defects in source code.
It analyzes Haiku sourcecode and detects bugs and programming errors.
The goal of this task is to pick one of the issues reported by Coverity, investogate the problem, and fix the bug. You will have to submit your work as a patch on Haiku's bug tracker.
The issue list is not publicly available, so the first step is requesting access at the Coverity website to view the detected problems. Follow the instructions in our wiki to do so: https://dev.haiku-os.org/wiki/Coverity
Then you need to pick an issue and analyze the problem. Coverity will show you the parts of the code where it thinks there is a problem. Your goal is to change the code to fix the problem, or report the task as a false positive if it turns out Coverity is wrong.