Bug #112666 | SQLDriverConnect() may cause memory leak (because of a bug in class `optionStr`) | ||
---|---|---|---|
Submitted: | 9 Oct 2023 11:56 | Modified: | 11 Jul 2024 6:43 |
Reporter: | Zixuan Fu (OCA) | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 8.1.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | bug, Contribution, memory leak |
[9 Oct 2023 11:56]
Zixuan Fu
[13 Oct 2023 12:06]
MySQL Verification Team
Hello Zixuan, Thank you for the bug report. Could you please provide repeatable test case (sample project, etc. - please make it as private if you prefer) to confirm this issue at our end? Regards, Ashwini Patil
[5 Jul 2024 8:25]
MySQL Verification Team
Thank you for the report and contribution.
[5 Jul 2024 16:04]
Rafal Somla
Posted by developer: Note: We can probably pull it off without a "repeatable test case". Provided description and analysis look solid enough.
[11 Jul 2024 6:43]
Bogdan Degtyariov
Posted by developer: The version 8.1 did not have x_free(converted), but it was added in 8.2.0 in commit 21066ea72fd22fe1c51f001ffae9de82e9a4abf7 (Fixes for unit tests and memory allocation). The freeing of memory is present from 8.2.0 on.