Bug #70830 Coverity analysis results and patches
Submitted: 6 Nov 2013 9:50 Modified: 19 Nov 2013 13:42
Reporter: Honza Horak (OCA) Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:5.6.14 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[6 Nov 2013 9:50] Honza Horak
MySQL 5.5.32 was scanned using Coverity static analysis tool and there are some issues still in 5.6.14. I'll attach several files for more info.

How to repeat:
Just sanity fixes.
[6 Nov 2013 9:52] Honza Horak
patch for sign expression issue

Attachment: community-mysql-covscan-signexpr.patch (text/x-patch), 1006 bytes.

[6 Nov 2013 9:53] Honza Horak
patch for string overflow issues

Attachment: community-mysql-covscan-stroverflow.patch (text/x-patch), 2.87 KiB.

[7 Nov 2013 19:41] Sveta Smirnova
Thank you for the report and contribution.

Verified as described.
[14 Nov 2013 17:32] Paul DuBois
Noted in 5.6.16, 5.7.4 changelogs.

Several issues identified by the Coverity static analysis tool were
fixed. Thanks to Honza Horak for the patch.
[3 Feb 2014 10:27] Laurynas Biveinis
5.6$ bzr log -r 5629
revno: 5629
committer: Jon Olav Hauglid <jon.hauglid@oracle.com>
branch nick: mysql-5.6-bug17760511
timestamp: Thu 2013-11-14 16:55:43 +0100
  Bug#70830:    Coverity analysis results and patches
  Fix more issues found by Coverty.
  Based on patches contributed by Honza Horak.