[MDEV-17559] signed integer overflow in Item_func_minus Created: 2018-10-27 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Eugene Kosov (Inactive) | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Both queries fails in two places with -ftrapv:
I think computations should be performed in ulonglong instead of longlong. |