[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.


Generated at Thu Feb 08 04:29:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.