[MDEV-30036] NULL pointer dereference in partition_info::set_partition_bitmaps_from_table Created: 2022-11-18 Updated: 2022-12-02 Resolved: 2022-12-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.3.5, 10.11.1 |
| Fix Version/s: | 10.3.38, 10.4.28, 10.5.19, 10.6.12, 10.7.8, 10.8.7, 10.9.5, 10.10.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Yury Chaikou | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
sql/partition_info.cc
If table_list is not NULL then we assign NULL to partition_names. Looks like the order of the ? operator results should be reversed:
|
| Comments |
| Comment by Yury Chaikou [ 2022-11-18 ] |
|
Introduced in 10.3.5 - https://github.com/MariaDB/server/commit/b4a2baffa82e5c07b96a1c752228560dcac1359b |