New Defects reported by Coverity Scan for ceph

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

 



Hi,

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

2 new defect(s) introduced to ceph found with Coverity Scan.


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


** CID 1262114:  Uninitialized scalar field  (UNINIT_CTOR)
/messages/MOSDRepOp.h: 107 in MOSDRepOp::MOSDRepOp()()

** CID 1262115:  Uninitialized scalar field  (UNINIT_CTOR)
/messages/MOSDRepOpReply.h: 97 in MOSDRepOpReply::MOSDRepOpReply()()


________________________________________________________________________________________________________
*** CID 1262114:  Uninitialized scalar field  (UNINIT_CTOR)
/messages/MOSDRepOp.h: 107 in MOSDRepOp::MOSDRepOp()()
101         ::encode(from, payload);
102         ::encode(updated_hit_set_history, payload);
103         ::encode(pg_trim_rollback_to, payload);
104       }
105     
106       MOSDRepOp()
>>>     CID 1262114:  Uninitialized scalar field  (UNINIT_CTOR)
>>>     Non-static class member "acks_wanted" is not initialized in this constructor nor in any functions that it calls.
107         : Message(MSG_OSD_REPOP, HEAD_VERSION, COMPAT_VERSION) { }
108       MOSDRepOp(osd_reqid_t r, pg_shard_t from,
109     	    spg_t p, const hobject_t& po, int aw,
110     	    epoch_t mape, ceph_tid_t rtid, eversion_t v)
111         : Message(MSG_OSD_REPOP, HEAD_VERSION, COMPAT_VERSION),
112           map_epoch(mape),

________________________________________________________________________________________________________
*** CID 1262115:  Uninitialized scalar field  (UNINIT_CTOR)
/messages/MOSDRepOpReply.h: 97 in MOSDRepOpReply::MOSDRepOpReply()()
91         from(from),
92         pgid(req->pgid.pgid, req->from.shard),
93         ack_type(at),
94         result(result_) {
95         set_tid(req->get_tid());
96       }
>>>     CID 1262115:  Uninitialized scalar field  (UNINIT_CTOR)
>>>     Non-static class member "result" is not initialized in this constructor nor in any functions that it calls.
97       MOSDRepOpReply() : Message(MSG_OSD_REPOPREPLY) {}
98     private:
99       ~MOSDRepOpReply() {}
100     
101     public:
102       const char *get_type_name() const { return "osd_repop_reply"; }


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

To manage Coverity Scan email notifications for "ceph-devel@xxxxxxxxxxxxxxx", click http://scan.coverity.com/subscriptions/edit?email=ceph-devel%40vger.kernel.org&token=018084d671e3cc89d00dd2ccb7eb849c .

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux