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

scan-admin at coverity.com scan-admin at coverity.com
Mon Dec 16 20:49:25 UTC 2013


Hi,


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 8 defect(s)


** CID 1138525:  Missing break in switch  (MISSING_BREAK)
/xlators/mgmt/glusterd/src/glusterd-quota.c: 1407 in glusterd_op_stage_quota()

** CID 1138522:  Destination buffer too small  (BUFFER_SIZE)
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2926 in glusterd_read_status_file()
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2928 in glusterd_read_status_file()
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2904 in glusterd_read_status_file()

** CID 1138523:  Logically dead code  (DEADCODE)
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2634 in glusterd_parse_gsync_status()
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2654 in glusterd_parse_gsync_status()
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2668 in glusterd_parse_gsync_status()
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2624 in glusterd_parse_gsync_status()
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2630 in glusterd_parse_gsync_status()
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2650 in glusterd_parse_gsync_status()
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2664 in glusterd_parse_gsync_status()

** CID 1138524:  Explicit null dereferenced  (FORWARD_NULL)
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2679 in glusterd_parse_gsync_status()

** CID 1138527:  Resource leak  (RESOURCE_LEAK)
/xlators/mgmt/glusterd/src/glusterd-utils.c: 4750 in _local_gsyncd_start()

** CID 1138526:  Resource leak  (RESOURCE_LEAK)
/xlators/mgmt/glusterd/src/glusterd-geo-rep.c: 2683 in glusterd_parse_gsync_status()

** CID 1124349:  Unchecked return value  (CHECKED_RETURN)
/xlators/mgmt/glusterd/src/glusterd-volume-set.c: 120 in validate_cache_max_min_size()
/xlators/mgmt/glusterd/src/glusterd-volume-set.c: 129 in validate_cache_max_min_size()
/xlators/mgmt/glusterd/src/glusterd-volume-set.c: 130 in validate_cache_max_min_size()




________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, http://scan.coverity.com

To unsubscribe from the email notification for new defects, http://scan5.coverity.com/cgi-bin/unsubscribe.py







More information about the Gluster-devel mailing list