Coverity scan revealed defects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
Coverity scan detected some issues such as RESOURCE_LEAK and REVERSE_INULL etc on qemu-1.0rc1:
Analysis summary report:
-------
Files analyzed : 830
Total LoC input to cov-analyze : 576549
Functions analyzed : 20721
Paths analyzed : 858376
New defects found : 428 Total
For details, please see attachment.
This is latest result on qemu-1.0-rc3, and I notice that 'RESOURCE_LEAK' is 10 now:
Analysis summary report: ------- ------- ---
2 ARRAY_VS_SINGLETON
4 ATOMICITY
10 CHECKED_RETURN
17 CONSTANT_ EXPRESSION_ RESULT
62 DEADCODE
42 FORWARD_NULL
10 INFINITE_LOOP
34 MISSING_BREAK
1 MISSING_LOCK
44 NEGATIVE_RETURNS
10 NULL_RETURNS
46 OVERRUN_STATIC
10 RESOURCE_LEAK
78 REVERSE_INULL
1 REVERSE_NEGATIVE
18 SIGN_EXTENSION
7 SIZEOF_MISMATCH
26 UNINIT
5 UNREACHABLE
2 UNUSED_VALUE
3 USE_AFTER_FREE
-------
Files analyzed : 825
Total LoC input to cov-analyze : 576887
Functions analyzed : 20639
Paths analyzed : 896645
Defect occurrences found : 432 Total
For details, please see attachment.