cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [coverity] liblogthread
@ 2011-10-10  8:45 Fabio M. Di Nitto
  2011-10-10  8:45 ` [Cluster-devel] [PATCH 1/4] liblogthread: call to localtime needs return value check Fabio M. Di Nitto
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Fabio M. Di Nitto @ 2011-10-10  8:45 UTC (permalink / raw)
  To: cluster-devel.redhat.com

This is the first patchset to address some issues spotted by Coverity scan.

Original errors/warnings:

Analysis summary report:
------------------------
Files analyzed                 : 1
Total LoC input to cov-analyze : 12453
Functions analyzed             : 11
Paths analyzed                 : 243
New defects found              : 8 Total
                                 1 ATOMICITY
                                 3 BUFFER_SIZE_WARNING
                                 1 MISSING_LOCK
                                 1 NULL_RETURNS
                                 1 PW.NOT_COMPATIBLE_WITH_PREVIOUS_DECL
                                 1 SECURE_CODING

Elapsed time: 00:00:00
Processing 8 C/C++ errors.
 
0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
***************************************************
Processed 8 C/C++ errors.

After fixes:

Analysis summary report:
------------------------
Files analyzed                 : 1
Total LoC input to cov-analyze : 12475
Functions analyzed             : 12
Paths analyzed                 : 250
New defects found              : 2 Total
                                 1 ATOMICITY
                                 1 PW.NOT_COMPATIBLE_WITH_PREVIOUS_DECL

Elapsed time: 00:00:01
Processing 2 C/C++ errors.

0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
***************************************************
Processed 2 C/C++ errors.

NOTES:

PW.NOT_COMPATIBLE_WITH_PREVIOUS_DECL can be safely ignored as it is an incompatible
declaration between system gcc and coverity headers.

The remaining ATOMICITY error appears to be bogus.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-10 14:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-10  8:45 [Cluster-devel] [coverity] liblogthread Fabio M. Di Nitto
2011-10-10  8:45 ` [Cluster-devel] [PATCH 1/4] liblogthread: call to localtime needs return value check Fabio M. Di Nitto
2011-10-10  8:56   ` Steven Whitehouse
2011-10-10  8:45 ` [Cluster-devel] [PATCH 2/4] liblogthread: make sure there is space for \0 end string Fabio M. Di Nitto
2011-10-10  8:45 ` [Cluster-devel] [PATCH 3/4] liblogthread: use snprintf as it is considered safer Fabio M. Di Nitto
2011-10-10  8:45 ` [Cluster-devel] [PATCH 4/4] liblogthread: make library thread safer Fabio M. Di Nitto
2011-10-10 14:54 ` [Cluster-devel] [coverity] liblogthread David Teigland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).