Bug 730615
Summary: | avoid crash on process attach | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Alex Jia <ajia> | ||||
Component: | libvirt | Assignee: | Daniel Veillard <veillard> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.2 | CC: | dyuan, mzhan, rwu, veillard | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | libvirt-0.9.4-3.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-12-06 11:26:38 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Alex Jia
2011-08-15 05:49:36 UTC
Upstream commit 5ef1b6c54a43112338db7192fa32921bcf7aca81 Daniel Created attachment 518407 [details]
Null pointer passed as an argument to a 'nonnull' parameter
ccc-analyzer test report for libvirt upstream (2011-08-04).
libvirt - scan-build results User: root Working Directory: /root/libvirt Command Line: make Date: Thu Aug 4 14:28:16 2011 Version: checker-257 (2011-05-25 09:09:08) Bug Summary Results in this analysis run are based on analyzer build checker-257. Bug Type Quantity Display? All Bugs 37 API Argument with 'nonnull' attribute passed null 1 Dead code Idempotent operation 12 Dead store Dead assignment 9 Logic error Dereference of null pointer 15 Reports Bug Group Bug Type ▾ File Line Path Length API Argument with 'nonnull' attribute passed null src /qemu /qemu_process.c 1220 5 View Report libvirt - scan-build results User: root Working Directory: /root/libvirt Command Line: make Date: Mon Aug 15 13:09:59 2011 Version: checker-257 (2011-05-25 09:09:08) Bug Summary Results in this analysis run are based on analyzer build checker-257. Bug Type Quantity Display? All Bugs 32 Dead code Idempotent operation 12 Dead store Dead assignment 5 Logic error Dereference of null pointer 14 Unix API Undefined allocation of 0 bytes 1 I haven't seen "Argument with 'nonnull' attribute passed null" bug(please see Comment 4 or attachment of Comment 3) in test report of ccc-analyzer again(please see Comment 5), so change the bug to VERIFIED status. BTW, the above scan-build results base on libvirt upstream(one is Aug 4, the other is Aug 15). Alex Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1513.html |