[MXS-3956] maxscale crash when executing a prepare statement with zero of parameter Created: 2022-01-20  Updated: 2022-01-24  Resolved: 2022-01-24

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 6.1.1, 6.1.3, 6.1.4
Fix Version/s: 6.2.0

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None


 Description   

This concerns only 6.1.x version. Issue is corrected in 6.2.0.
feel free to close issue if 6.2 is the supported version of 6.1

If a COM_STMT_PREPARE is send for a command with some parameters then a command COM_STMT_EXECUTE is sent without parameter, maxscale crash with error "MaxScale 6.1.1 received fatal signal 11"

example :
"CREATE TABLE prepare1 (t1 int not null primary key auto_increment, t2 int)"
COM_STMT_PREPARE : "INSERT INTO prepare1(t1, t2) VALUES (?,?)"

command COM_STMT_EXECUTE without parameter will crash maxscale.



 Comments   
Comment by markus makela [ 2022-01-20 ]

6.2.0 is the "next" release up from 6.1.4 so I think this can be closed as an already fixed bug.

Comment by Johan Wikman [ 2022-01-24 ]

6.2 is a direct descendant of 6.1, not a new minor branch. There will be no additional 6.1 maintenance releases.

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