Bug #63801 Errors found by static analysis tool
Submitted: 19 Dec 2011 17:39 Modified: 20 Dec 2011 11:44
Reporter: Honza Horak (OCA) Email Updates:
Status: Verified Impact on me:
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:5.1.8 OS:Linux
Assigned to: Bogdan Degtyariov CPU Architecture:Any

[19 Dec 2011 17:39] Honza Horak
Hi, mysql-connector-odbc has been scanned using Coverity static analysis tool, which discovered several more or less severe problems. Please note, that there can be some false positives, but many of them are real issues.

A patch with some obvious fixes and the error report will be attached., .

How to repeat:
See the report attached.
[19 Dec 2011 17:41] Honza Horak
patch that fixes some obvious errors

Attachment: myodbc-coverity.patch (text/x-patch), 9.06 KiB.

[19 Dec 2011 17:42] Honza Horak
Error report from Coverity static analysis tool

Attachment: mysql-connector-odbc-5.1.8-coverity.err (application/octet-stream, text), 166.81 KiB.

[20 Dec 2011 11:42] Bogdan Degtyariov
Hi Honza,

Indeed, some of changes suggested in the patch file make sense in order to improve the connector/ODBC stability.
Thank you for your contribution to this project.

Setting the bugs status to Verified.