I just ran cppcheck 1.46 on the latest coreutils.
It ran for a _long_ time and reported these false positives

[coreutils/src/system.h:355]: (error) Resource leak: fd
[coreutils/src/chown-core.c:212]: (error) Resource leak: fd
[coreutils/src/ls.c:1963]: (error) Unusual pointer arithmetic
[coreutils/src/sleep.c:133]: (error) Uninitialized variable: p

I'll see can I fix/report these issues in cppcheck
at some stage.

cheers,
Pádraig.

Reply via email to