Details
Description
Commit 1500fc6839:
/path/to/src/sql/table.cc: In function 'bool create_key_infos(const uchar*, const uchar*, uint, KEY*, uint, uint*, TABLE_SHARE*, uint, KEY*, LEX_STRING*)':
|
/path/to/src/sql/table.cc:923:3: error: 'key_part_end' may be used uninitialized [-Werror=maybe-uninitialized]
|
923 | if (key_part > key_part_end)
|
| ^~
|
/path/to/src/sql/table.cc:771:41: note: 'key_part_end' was declared here
|
771 | KEY_PART_INFO *first_key_part= NULL, *key_part_end;
|
| ^~~~~~~~~~~~
|
Attachments
Issue Links
- is caused by
-
MDEV-40571 insufficient validation of frm data when opening a table
-
- Closed
-
- relates to
-
MDEV-39601 maybe-uninitialized compile error in the Connect Storage Engine
-
- Confirmed
-