[Gluster-devel] Fwd: New Defects reported by Coverity Scan for GlusterFS

Vijay Bellur vbellur at redhat.com
Thu Jan 2 11:32:35 UTC 2014




On 12/31/2013 04:53 PM, Lalatendu Mohanty wrote:
> Here is the last Coverity scan report in 2013 for master branch of
> GlusterFS. I have tried to cover the whole code base for this Coverity
> scan by enabling possible translators. Happy new year Gluster Ants :)

Thanks, Lala and Happy new year to you too! :)

> Please find the latest report on new defect(s) introduced to GlusterFS found with Coverity Scan.
>
> Defect(s) Reported-by: Coverity Scan
> Showing 7 of 291 defect(s)

Avati, Brian: All these errors seem to be coming from the imported qemu 
code. Do we mark them as false positives as we probably do not intend 
fixing them?

Cheers,
Vijay

>
>
> ** CID 26092:  Argument cannot be negative  (NEGATIVE_RETURNS)
> /contrib/uuid/gen_uuid.c: 331 in get_clock()
>
> ** CID 1005337:  Uninitialized scalar variable  (UNINIT)
> /contrib/qemu/util/oslib-posix.c: 224 in qemu_utimens()
> /contrib/qemu/util/oslib-posix.c: 225 in qemu_utimens()
>
> ** CID 982366:  Logically dead code  (DEADCODE)
> /contrib/qemu/util/aes.c: 826 in AES_set_encrypt_key()
>
> ** CID 1005329:  Unused pointer value  (UNUSED_VALUE)
> /contrib/qemu/block/qed.c: 687 in bdrv_qed_co_is_allocated()
>
> ** CID 1005328:  Unused pointer value  (UNUSED_VALUE)
> /contrib/qemu/block/qed.c: 1403 in bdrv_qed_co_write_zeroes()
>
> ** CID 1005324:  Unused pointer value  (UNUSED_VALUE)
> /contrib/qemu/qobject/json-parser.c: 545 in parse_array()
>
> ** CID 1005323:  Unused pointer value  (UNUSED_VALUE)
> /contrib/qemu/qobject/json-parser.c: 466 in parse_object()
>
>
>
>





More information about the Gluster-devel mailing list