Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
The function ha_innobase::prepare_inplace_alter_table() is failing to call mem_heap_free(heap) when it notices that a secondary index is corrupted.
The memory leak is noticed by AddressSanitizer when running the test innodb.innodb_corrupt_bit.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 79108 ] | MariaDB v4 [ 133089 ] |
I accidentally created this as a task instead of bug.
The memory leak was introduced in 10.0.26, 10.1.15, 10.2.1 by the following:
commit c081c978a2c83b9dc9efa84414cf40232460987d
Merge: 1d21b221552 a482e76e65a
Author: Sergei Golubchik <serg@mariadb.org>
Date: Tue Jun 21 14:11:02 2016 +0200
Merge branch '5.5' into bb-10.0