If they had used Coccinelle they could have automated the building of the patch to fix the bugs too :-)
I do like how the author did test this against a bunch of projects, file the bug reports and include a patch for them too, good work.
BTW Clang Analyzer has a separate set of checkers for such class problems when one uses POSIX API incorrectly - https://clang.llvm.org/docs/analyzer/checkers.html#unix
If they had used Coccinelle they could have automated the building of the patch to fix the bugs too :-)
I do like how the author did test this against a bunch of projects, file the bug reports and include a patch for them too, good work.
BTW Clang Analyzer has a separate set of checkers for such class problems when one uses POSIX API incorrectly - https://clang.llvm.org/docs/analyzer/checkers.html#unix
BTW Clang Analyzer has a separate set of checkers for such class problems when one uses POSIX API incorrectly - https://clang.llvm.org/docs/analyzer/checkers.html#unix