potential memory leak on realloc() in wsrep_write_cache()

Bug #1230160 reported by Alex Yurchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.5
Fix Released
Medium
Alex Yurchenko
5.6
Fix Released
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

Revision history for this message
Alex Yurchenko (ayurchen) wrote :
Revision history for this message
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

Revision history for this message
Alex Yurchenko (ayurchen) wrote :
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/PXC-1447

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.