Red Hat Bugzilla – Bug 818226
Weird check for null pointer in mirror_abort()
Last modified: 2013-01-09 19:55:51 EST
new Coverity rescan found new potential defect in qemu-kvm. Look at:
qemu-kvm-0.12.1.2/block/mirror.c:290 at the function mirror_abort()
There is done check for 's' non-null pointer but on the following line there is
direct dereference. Note that I don't know what is the purpose of these lines
but This check is really suspicious and at least something goes wrong.
List of added defects is attached.
This error is mentioned just as a warning and it depends on you whether
it will be fixed. This defect can be not so dangerous and/or not so
prioritized to be fixed in 6.3 so feel free to move it to 6.4 or close it as
a NOTABUG if we don't need to fix it at all.
This issue was found by static analysis tool and we can't provide any
reproducer for it. We are able to rescan package once this problem is
fixed. Please check this as SanityOnly (just check that patches for the
issues and check if nothing unexpected was added by the commit). If you
want to check the new package with Coverity yourself, feel free to use
covscan tool (https://engineering.redhat.com/trac/CoverityScan/wiki/covscan).
Created attachment 581622 [details]
List of added defects in qemu-kvm-0.12.1.2-2.282
Sorry -- my browser was unable to attach it in one-run. Pavel
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
No Documentation Needed
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.