Hi all,
The following patch fixes a few issues reported by coverity in the file
hw/i386/amd_iommu.c
David Kiarie (1):
hw/iommu: Fix problems reported by Coverity scan
hw/i386/amd_iommu.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
--
2.1.4
If the is_write argument is true, address_space_rw writes to memory
and thus reads from the buffer. The opposite holds if is_write is
false. Fix the model.
Cc: Markus Armbruster arm...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
scripts/coverity-model.c | 6 +++---
1 file
Paolo Bonzini pbonz...@redhat.com writes:
If the is_write argument is true, address_space_rw writes to memory
and thus reads from the buffer. The opposite holds if is_write is
false. Fix the model.
Cc: Markus Armbruster arm...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
On 17/03/2015 09:34, Markus Armbruster wrote:
Jan Kiszka jan.kis...@siemens.com writes:
Allocate the calculated overall size, not only the size of a single
element.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
I'm feeding this to Coverity locally to gauge its impact.
I got no
Jan Kiszka jan.kis...@siemens.com writes:
Allocate the calculated overall size, not only the size of a single
element.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
I'm feeding this to Coverity locally to gauge its impact.
Paolo Bonzini pbonz...@redhat.com writes:
On 17/03/2015 09:34, Markus Armbruster wrote:
Jan Kiszka jan.kis...@siemens.com writes:
Allocate the calculated overall size, not only the size of a single
element.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
I'm feeding this to Coverity
Allocate the calculated overall size, not only the size of a single
element.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
scripts/coverity-model.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/coverity-model.c b/scripts/coverity-model.c
index