Hi,

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

1 new defect(s) introduced to ceph found with Coverity Scan.
2 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 1 of 1 defect(s)


** CID 1255885:  Ignoring number of bytes read  (CHECKED_RETURN)
/msg/async/Event.cc: 42 in C_handle_notify::do_request(int)()


________________________________________________________________________________________________________
*** CID 1255885:  Ignoring number of bytes read  (CHECKED_RETURN)
/msg/async/Event.cc: 42 in C_handle_notify::do_request(int)()
36     
37     class C_handle_notify : public EventCallback {
38      public:
39       C_handle_notify() {}
40       void do_request(int fd_or_id) {
41         char c[100];
>>>     CID 1255885:  Ignoring number of bytes read  (CHECKED_RETURN)
>>>     "read(int, void *, size_t)" returns the number of bytes read, but it is 
>>> ignored.
42         assert(read(fd_or_id, c, 100));
43       }
44     };
45     
46     int EventCenter::init(int n)
47     {


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

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



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

Reply via email to