[MCOL-4432] MCS doesn't check for int64 overflow casting from TIMESTAMP to DECIMAL Created: 2020-12-03 Updated: 2023-07-02 |
|
| Status: | Open |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 5.5.1 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Minor |
| Reporter: | Roman | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
MCS doesn't check for integer multiplication overflow calling CAST(X DECIMAL(Y,Z)). So the integer value in IDB_Decimal received from funcexp multiplied by scaler multiplier can overflow int64 range and produce an unexpected value. |