| Summary: | Coverity scan revealed defects | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Alex Jia <ajia> | ||||||
| Component: | libvirt | Assignee: | Gunannan Ren <gren> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 6.2 | CC: | acathrow, dallan, dyuan, mzhan, rwu, veillard | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-08-06 15:01:12 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 550105 [details]
CoverityScan-libvirt-0.9.4-23.el6_2.2
Coverity detected some issues on libvirt-0.9.4-23.el6_2.3:
Analysis summary report:
------------------------
Files analyzed : 230
Total LoC input to cov-analyze : 278094
Functions analyzed : 6864
Paths analyzed : 715989
New defects found : 13 Total
1 CHECKED_RETURN
3 DEADCODE
1 FORWARD_NULL
1 MISSING_RETURN
1 NULL_RETURNS
4 RESOURCE_LEAK
1 RETURN_LOCAL
1 REVERSE_INULL
There aren't new issues are introduced according to above report, and the test result is the same with 0.9.4-23.el6_2.2, however, the previous issues still exist.
Coverity detected some issues on libvirt-0.9.4-23.el6_2.5:
Analysis summary report:
------------------------
Files analyzed : 230
Total LoC input to cov-analyze : 278201
Functions analyzed : 6865
Paths analyzed : 732161
Defect occurrences found : 36 Total
3 CHECKED_RETURN
13 DEADCODE
2 FORWARD_NULL
1 MISSING_RETURN
1 NO_EFFECT
1 NULL_RETURNS
1 OVERRUN_STATIC
11 RESOURCE_LEAK
1 RETURN_LOCAL
1 REVERSE_INULL
1 UNINIT
Comparing with libvirt-0.9.4-23.el6_2.3, there are 1 'FORWARD_NULL' and 7 'RESOURCE_LEAK' are introduced on libvirt-0.9.4-23.el6_2.5.
Created attachment 564588 [details]
CoverityScan-libvirt-0.9.4-23.el6_2.5
*** This bug has been marked as a duplicate of bug 825903 *** |
Description of problem: Coverity detected some issues on libvirt-0.9.4-23.el6_2.2: Analysis summary report: ------------------------ Files analyzed : 230 Total LoC input to cov-analyze : 278090 Functions analyzed : 6864 Paths analyzed : 715974 New defects found : 13 Total 1 CHECKED_RETURN 3 DEADCODE 1 FORWARD_NULL 1 MISSING_RETURN 1 NULL_RETURNS 4 RESOURCE_LEAK 1 RETURN_LOCAL 1 REVERSE_INULL Version-Release number of selected component (if applicable): libvirt-0.9.4-23.el6_2.2.src.rpm How reproducible: always Steps to Reproduce: 1. coverity scan 2. 3. Actual results: Please see attachment. Expected results: Fix memory leaks and NULL pointer deref. Additional info: It should be a rhel6.2 ZStream bug.