Actions
Bug #4070
closedmemory leak
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The assignment operator of buffer::ptr leaks when the object is assigned to itself. After
buffer::ptr a(1); a = a;
a call to a.get_raw() will return a null pointer and there will be no pointer referencing the original buffer::raw object although its reference count is 1.
Updated by Loïc Dachary about 11 years ago
Here is the proposed fix https://github.com/ceph/ceph/pull/44
Updated by Josh Durgin about 11 years ago
- Status changed from New to Resolved
Actions