[MDEV-32226] UBSAN shift exponent X is too large for 64-bit type 'long long int' in sql/field.cc Created: 2023-09-22 Updated: 2023-10-05 Resolved: 2023-10-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.9, 10.10, 10.11, 11.0, 11.1, 11.2, 11.3 |
| Fix Version/s: | 10.8.8, 10.4.32, 10.5.23, 10.6.16, 10.9.8, 10.10.7, 10.11.6, 11.0.4, 11.1.3, 11.2.2, 11.3.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Ramesh Sivaraman | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Leads to
|
| Comments |
| Comment by Oleksandr Byelkin [ 2023-09-25 ] |
|
Type_handler_set::Column_definition_prepare_stage2 ignore duplicates (def->interval->count - dup_count > sizeof(longlong)*8) but then Field_set::store uses typelib->count for shift which is bigger then 64. |