MySQL Forums
Forum List  »  Connector/ODBC

Re: possible memory leak connector version 8.0.32 and up
Posted by: BOGDAN Vasilescu
Date: August 18, 2023 12:54PM

Hi Bogdan :),

Hopefully you will get a notification and will have time to read this message.
First of all, thank you for looking into this issue and addressing it.
We received a 33 SR1 version (x86bit) and unfortunately it crashes with what looks like double memory free. Is it possible to get the pdbs for this release?

On a different note, but somehow related. I noticed in the fix for the issue:
https://github.com/mysql/mysql-connector-odbc/commit/28bbdb99b007f0e10ce8efa63335b1fbbbb46c4f
that the code uses:
for (auto bind : ...

Is there any reason for not using:
for (auto &bind : ...

to avoid the memcpy of the MYSQL_BIND structure?

Thank you,
Bogdan Vasilescu

Options: ReplyQuote


Subject
Written By
Posted
Re: possible memory leak connector version 8.0.32 and up
August 18, 2023 12:54PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.