[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    [coreutils] cppcheck
From:       Pádraig Brady <P () draigBrady ! com>
Date:       2010-12-17 15:58:19
Message-ID: 4D0B889B.5040605 () draigBrady ! com
[Download RAW message or body]

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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic