store_temporary_table_record() does not check for handler::clone() failure | possible NULL dereferences in TEMPORARY_TABLES queries
Bug #1206486 reported by
Laurynas Biveinis
This bug report is a duplicate of:
Bug #1294190: Crash when selecting from GLOBAL_TEMPORARY_TABLES with parallel online ALTER TABLE.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Triaged
|
High
|
Laurynas Biveinis | ||
5.1 |
Won't Fix
|
Medium
|
Unassigned | ||
5.5 |
Triaged
|
Medium
|
Laurynas Biveinis | ||
5.6 |
Triaged
|
High
|
Laurynas Biveinis |
Bug Description
handler::clone() may return NULL. But store_temporary
This was introduced by the fix to bug 951588.
Related branches
lp:~laurynas-biveinis/percona-server/i-s-temp-tables-fixes-1-5.5
On hold
for merging
into
lp:percona-server/5.5
- Laurynas Biveinis (community): Needs Resubmitting
- George Ormond Lorch III (community): Approve (g2)
-
Diff: 250 lines (+115/-37)7 files modifiedPercona-Server/mysql-test/r/percona_bug_1113388.result (+16/-0)
Percona-Server/mysql-test/t/percona_bug_1113388.test (+34/-0)
Percona-Server/sql/ha_partition.cc (+6/-0)
Percona-Server/sql/handler.cc (+11/-0)
Percona-Server/sql/handler.h (+9/-1)
Percona-Server/sql/sql_show.cc (+38/-36)
Percona-Server/sql/sql_table.cc (+1/-0)
lp:~laurynas-biveinis/percona-server/i-s-temp-tables-fixes-1-5.1
On hold
for merging
into
lp:percona-server/5.1
- Laurynas Biveinis (community): Needs Resubmitting
- George Ormond Lorch III (community): Approve (g2)
-
Diff: 177 lines (+63/-37)4 files modifiedPercona-Server/sql/ha_partition.cc (+6/-0)
Percona-Server/sql/handler.cc (+11/-0)
Percona-Server/sql/handler.h (+9/-1)
Percona-Server/sql/sql_show.cc (+37/-36)
lp:~laurynas-biveinis/percona-server/i-s-temp-tables-fixes-1-5.6
On hold
for merging
into
lp:percona-server/5.6
- Laurynas Biveinis (community): Needs Resubmitting
- George Ormond Lorch III (community): Approve (g2)
-
Diff: 346 lines (+190/-37)11 files modifiedPercona-Server/mysql-test/r/percona_bug_1113388.result (+16/-0)
Percona-Server/mysql-test/r/percona_bug_1193264.result (+11/-0)
Percona-Server/mysql-test/r/percona_bug_1193308.result (+11/-0)
Percona-Server/mysql-test/t/percona_bug_1113388.test (+34/-0)
Percona-Server/mysql-test/t/percona_bug_1193264.test (+28/-0)
Percona-Server/mysql-test/t/percona_bug_1193308.test (+27/-0)
Percona-Server/sql/ha_partition.cc (+6/-0)
Percona-Server/sql/handler.cc (+10/-0)
Percona-Server/sql/handler.h (+9/-1)
Percona-Server/sql/sql_show.cc (+37/-36)
Percona-Server/sql/sql_table.cc (+1/-0)
Actual crash at bug 1205572.