Re: [Qemu-devel] [PATCH] do not check pointers after dereferencing them

2013-06-03 Thread Stefan Hajnoczi
On Fri, May 31, 2013 at 06:46:21AM -0600, Eric Blake wrote: On 05/31/2013 06:00 AM, Paolo Bonzini wrote: Two instances, both spotted by Coverity. In one, two blocks were swapped. In the other, the check is not needed anymore. Cc: qemu-sta...@nongnu.org Cc: qemu-triv...@nongnu.org

[Qemu-devel] [PATCH] do not check pointers after dereferencing them

2013-05-31 Thread Paolo Bonzini
Two instances, both spotted by Coverity. In one, two blocks were swapped. In the other, the check is not needed anymore. Cc: qemu-sta...@nongnu.org Cc: qemu-triv...@nongnu.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- monitor.c | 2 +- savevm.c | 10 +- 2 files changed, 6

Re: [Qemu-devel] [PATCH] do not check pointers after dereferencing them

2013-05-31 Thread Eric Blake
On 05/31/2013 06:00 AM, Paolo Bonzini wrote: Two instances, both spotted by Coverity. In one, two blocks were swapped. In the other, the check is not needed anymore. Cc: qemu-sta...@nongnu.org Cc: qemu-triv...@nongnu.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- monitor.c |