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.

Defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1243158:  Resource leak  (RESOURCE_LEAK)
/test/librbd/test_librbd.cc: 1370 in LibRBD_ListChildrenTiered_Test::TestBody()()


________________________________________________________________________________________________________
*** CID 1243158:  Resource leak  (RESOURCE_LEAK)
/test/librbd/test_librbd.cc: 1370 in LibRBD_ListChildrenTiered_Test::TestBody()()
1364     
1365       int features = RBD_FEATURE_LAYERING;
1366       rbd_image_t parent;
1367       int order = 0;
1368     
1369       // make a parent to clone from
>>>     CID 1243158:  Resource leak  (RESOURCE_LEAK)
>>>     Variable "ioctx2" going out of scope leaks the storage it points to.
1370       ASSERT_EQ(0, create_image_full(ioctx1, "parent", 4<<20, &order,
1371     				 false, features));
1372       ASSERT_EQ(0, rbd_open(ioctx1, "parent", &parent, NULL));
1373       // create a snapshot, reopen as the parent we're interested in
1374       ASSERT_EQ(0, rbd_snap_create(parent, "parent_snap"));
1375       ASSERT_EQ(0, rbd_snap_set(parent, "parent_snap"));


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