Memory leak in xtrabackup --stats

Bug #740254 reported by Alexey Kopytov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Triaged
Low
Sergei Glushchenko
2.0
Won't Fix
Low
Unassigned
2.1
Triaged
Low
Sergei Glushchenko
2.2
Triaged
Low
Sergei Glushchenko
2.3
Triaged
Low
Sergei Glushchenko

Bug Description

xtrabackup --stats may leak memory under some circumstances.

xtrabackup_stats_level() calls rec_get_offsets() which may create a new memory heap and allocate a new array in case the supplied array is insufficiently large. However, that newly created memory heap is never freed.

Related branches

Stewart Smith (stewart)
Changed in percona-xtrabackup:
status: New → Confirmed
Stewart Smith (stewart)
Changed in percona-xtrabackup:
importance: Undecided → Low
status: Confirmed → Triaged
Changed in percona-xtrabackup:
assignee: nobody → Sergei Glushchenko (sergei.glushchenko)
Changed in percona-xtrabackup:
status: Triaged → In Progress
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-76

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.