[MXS-4557] Binlogrouter breaks if event size exceeds INT_MAX Created: 2023-03-14 Updated: 2023-03-21 Resolved: 2023-03-21 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | binlogrouter |
| Affects Version/s: | 2.5.24, 6.4.5, 22.08.4, 23.02.0 |
| Fix Version/s: | 2.5.25, 6.4.6, 22.08.5, 23.02.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The event is read as an unsigned 32-bit value and then converted into a signed 32-bit value. This results in an attempt to allocate massive amounts of memory as the value is then assigned to a size_t. This is can only happen if a single event exceeds INT_MAX in size. |