Bug #103807 | MySQL ODBC Driver memory overflow found using our GAS build | ||
---|---|---|---|
Submitted: | 26 May 2021 3:23 | Modified: | 4 Dec 2021 7:59 |
Reporter: | Yuwei Yang | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 8.0.25 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[26 May 2021 3:23]
Yuwei Yang
[26 May 2021 3:25]
Yuwei Yang
ODBC Trace for MySQL 8 driver
Attachment: odbctrace_mysql8.out (application/octet-stream, text), 8.58 KiB.
[26 May 2021 3:25]
Yuwei Yang
ODBC Trace for MySQL 5 driver
Attachment: odbctrace_mysql5.out (application/octet-stream, text), 743.08 KiB.
[26 May 2021 3:27]
Yuwei Yang
GAS log
Attachment: gas.log.21337 (application/octet-stream, text), 7.24 KiB.
[17 Jun 2021 3:42]
Yuwei Yang
Hi team, would you have any suggestions for this bug? Thanks
[1 Sep 2021 9:12]
Yuwei Yang
Hi team, would you have any suggestions for this bug? Thanks
[9 Sep 2021 12:05]
MySQL Verification Team
Bug #104882 marked as duplicate of this one.
[1 Oct 2021 12:56]
MySQL Verification Team
Hello Yuwei Yang, Thank you for the bug report. Regards, Ashwini Patil
[4 Nov 2021 7:59]
Bogdan Degtyariov
Hi Yuwei, I can see that you built MySQL ODBC Driver version 8.0.25, but it is not clear from the bug description which version of MySQL Client library (libmysqlclient) was used. Was it MySQL 8.0.25 or older? With the version of MySQL client library 8.0.25 the stack trace should look different around this part: #4 0x7f9df5491a85 in my_parse_charset_xml(MY_CHARSET_LOADER*, char const*, unsigned long) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0x133a85) #5 0x7f9df5426da8 (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xc8da8) #6 0x7f9df5427b8d (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xc9b8d) #7 0x7f9e0d3e1e3f in __pthread_once (/lib64/libpthread.so.0+0xce3f) #8 0x7f9df54284fc in my_charset_get_by_name(MY_CHARSET_LOADER*, char const*, unsigned int, int) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xca4fc) #9 0x7f9df54285fa in get_charset_by_csname(char const*, unsigned int, int) (/build/odbc/mysql8.0.25/libmyodbc8w.so+0xca5fa) Please note that for ODBC driver 8.0.25 we recommend using MySQL Client library from the version 8.0.25. This is true for any version where the ODBC driver and libmysqlclient versions should be the same. With libmysqlclient 8.0.25 the problem could not be repeated. Can you please confirm the version of libmysqlclient? Also, how did you use the Address Sanitizer? Was it through gcc option -fsanitize=address? Thanks.
[5 Dec 2021 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".