Project

General

Profile

Actions

Bug #13949

closed

rados.py uses string_at, leaks string memory

Added by Dan Mick over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
librados
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

It looks to me very much like ctypes.string_at() allocates new memory for the string; in the case of xattrs, at least, that string memory was malloced in librados, and string_at without free means the librados copy is a leak.

There are several places where string_at is called, and I suspect they're all leaks.

Actions

Also available in: Atom PDF