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.
25 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 1250262: Dereference after null check (FORWARD_NULL)
/osdc/Objecter.cc: 2062 in Objecter::_calc_target(Objecter::op_target_t *,
bool)()
________________________________________________________________________________________________________
*** CID 1250262: Dereference after null check (FORWARD_NULL)
/osdc/Objecter.cc: 2062 in Objecter::_calc_target(Objecter::op_target_t *,
bool)()
2056 if (ret == -ENOENT) {
2057 t->osd = -1;
2058 return RECALC_OP_TARGET_POOL_DNE;
2059 }
2060 }
2061
>>> CID 1250262: Dereference after null check (FORWARD_NULL)
>>> Dereferencing null pointer "pi".
2062 int min_size = pi->min_size;
2063 unsigned pg_num = pi->get_pg_num();
2064 int up_primary, acting_primary;
2065 vector<int> up, acting;
2066 osdmap->pg_to_up_acting_osds(pgid, &up, &up_primary,
2067 &acting, &acting_primary);
________________________________________________________________________________________________________
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