Bug #75740 Fix errors detected by ASan at runtime
Submitted: 3 Feb 2015 5:25 Modified: 9 Mar 2015 21:29
Reporter: Anitha Gopi Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S3 (Non-critical)
Version:5.6 OS:Any
Assigned to: CPU Architecture:Any

[3 Feb 2015 5:25] Anitha Gopi
Description:
This is a request from Webscale

https://github.com/webscalesql/webscalesql-5.6/commit/70ec39c248d47f3d87f926807d285501306d...

Replaced  memcmp() on a string, that may go out of bounds of the string with strncmp.

How to repeat:
Run tests with ASAN
[9 Mar 2015 21:29] Paul DuBois
Noted in 5.6.25, 5.7.7, 5.8.0 changelogs.

AddressSanitizer compilation errors were silenced.
[23 Jun 2015 15:22] Laurynas Biveinis
commit 7a25b8e2c8abad67f34e7e54e4e745794b3fd54f
Author: Tor Didriksen <tor.didriksen@oracle.com>
Date:   Tue Feb 24 17:22:10 2015 +0100

    Bug#20459363 FIX ERRORS DETECTED BY ASAN AT RUNTIME
    
    This patch is from
    from https://github.com/webscalesql/webscalesql-5.6
    patch 70ec39c2
    
    Feature: Basic Code Fixes
    
    Most of these have been fixed by 5.6.15.  Only one remains:
    A memcmp() on a string, that may go out of bounds of the string.