coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coreutils] cppcheck


From: Pádraig Brady
Subject: [coreutils] cppcheck
Date: Fri, 17 Dec 2010 15:58:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

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

[Prev in Thread] Current Thread [Next in Thread]