Re: New Defects reported by Coverity Scan for ceph

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

 



On Thu, 30 Oct 2014, scan-admin@xxxxxxxxxxxx wrote:
> 
> 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);

opened #9944

--
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