potential memory leak on realloc() in wsrep_write_cache()

Bug #1230160 reported by Alex Yurchenko on 2013-09-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.5
Medium
Alex Yurchenko
5.6
Medium
Alex Yurchenko
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Fix Released
Undecided
Unassigned
5.6
Fix Released
Undecided
Unassigned

Bug Description

typical mistake of overwriting a valid pointer:
      *buf = (uchar *)my_realloc(*buf, total_length+length, MYF(0));
      if (!*buf)
      {

Related branches

Alex Yurchenko (ayurchen) wrote :

previous commit missed one file.
full fix committed in http://bazaar.launchpad.net/~codership/codership-mysql/wsrep-5.5/revision/3893

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

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

Other bug subscribers