Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
This problem is similar to MDEV-15834, but for a 10.2 specific code in the code branch for MYSQL57_GENERATED_FIELD:
vcol_info_length= uint2korr(vcol_screen_pos + 1);
|
...
|
DBUG_ASSERT(vcol_info_length);
|
...
|
vcol_screen_pos+= vcol_info_length + MYSQL57_GCOL_HEADER_SIZE;
|
In case of a broke FRM file, this can crash in the debug build or behave unpredictably in a release build.
Attachments
Issue Links
- relates to
-
MDEV-15834 The code in TABLE_SHARE::init_from_binary_frm_image() is not safe
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Status | Open [ 1 ] | In Progress [ 3 ] |
Attachment | t1.frm [ 47993 ] |
Attachment | t1.frm [ 47993 ] |
Attachment | mdev16518.frm [ 47994 ] |
issue.field.resolutiondate | 2019-04-26 10:02:12.0 | 2019-04-26 10:02:12.986 |
Fix Version/s | 10.2.24 [ 23308 ] | |
Fix Version/s | 10.3.15 [ 23309 ] | |
Fix Version/s | 10.4.5 [ 23311 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 87913 ] | MariaDB v4 [ 154533 ] |
If I put the attached mdev16518.frm into mysql-test/std_data/frm, then this mtr test crashes on the mentioned DBUG_ASSERT:
--copy_file std_data/frm/mdev16518.frm $MYSQLD_DATADIR/test/t1.frm
SHOW TABLES;
--replace_result $MYSQLD_DATADIR ./