• Sergei Golubchik's avatar
    crash in string-to-int conversion · 719ac0ad
    Sergei Golubchik authored
    using a specially crafted strings one could overflow `shift`
    variable and cause a crash by dereferencing d10[-2147483648]
    (on a sufficiently old gcc).
    
    This is a correct fix and a test case for
    
    Bug #29723340: MYSQL SERVER CRASH AFTER SQL QUERY WITH DATA ?AST
    719ac0ad
func_math.test 18.9 KB