New Defects reported by Coverity Scan for gluster/glusterfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Please find the latest report on new defect(s) introduced to gluster/glusterfs found with Coverity Scan.

61 new defect(s) introduced to gluster/glusterfs found with Coverity Scan.
3 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 20 of 61 defect(s)


** CID 1174827:    (RESOURCE_LEAK)
/xlators/mgmt/glusterd/src/glusterd-store.c: 2486 in glusterd_store_retrieve_rbstate()
/xlators/mgmt/glusterd/src/glusterd-store.c: 2486 in glusterd_store_retrieve_rbstate()


________________________________________________________________________________________________________
*** CID 1174827:    (RESOURCE_LEAK)
/xlators/mgmt/glusterd/src/glusterd-store.c: 2486 in glusterd_store_retrieve_rbstate()
2480             if (ret)
2481                     goto out;
2482     
2483     out:
2484             gf_log (this->name, GF_LOG_TRACE, "Returning with %d", ret);
2485     
>>>     CID 1174827:    (RESOURCE_LEAK)
>>>     Variable "iter" going out of scope leaks the storage it points to.
2486             return ret;
2487     }
2488     
2489     int32_t
2490     glusterd_store_retrieve_node_state (glusterd_volinfo_t *volinfo)
2491     {
/xlators/mgmt/glusterd/src/glusterd-store.c: 2486 in glusterd_store_retrieve_rbstate()
2480             if (ret)
2481                     goto out;
2482     
2483     out:
2484             gf_log (this->name, GF_LOG_TRACE, "Returning with %d", ret);
2485     
>>>     CID 1174827:    (RESOURCE_LEAK)
>>>     Variable "iter" going out of scope leaks the storage it points to.
2486             return ret;
2487     }
2488     
2489     int32_t
2490     glusterd_store_retrieve_node_state (glusterd_volinfo_t *volinfo)
2491     {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/987?tab=overview

To manage Coverity Scan email notifications for "gluster-devel@xxxxxxxxxxx", click https://scan.coverity.com/subscriptions/edit?email=gluster-devel%40gluster.org&token=7dffab14bc5a7180e75b0d047539f148 .

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux