[MXS-1740] Hintfilter leaks memory Created: 2018-03-26  Updated: 2019-07-01  Resolved: 2018-06-01

Status: Closed
Project: MariaDB MaxScale
Component/s: hintfilter
Affects Version/s: None
Fix Version/s: 2.2.8

Type: Bug Priority: Minor
Reporter: Esa Korhonen Assignee: Niclas Antti
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-56, MXS-SPRINT-57, MXS-SPRINT-58, MXS-SPRINT-59

 Description   

The HintFilter routeQuery-function does not check if the buffer already has a hint attached, and will overwrite existing hints, even with 0. Thus, the existing hint is never freed. Other hint-generating/attaching code should also be checked.


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