• Magne Mahre's avatar
    Bug #38124 (clean-up patch) · a7bcc44f
    Magne Mahre authored
    The fix for Bug #38124 introuced a bug. If the value given 
    for a set_var exceeded the length of the temporary buffer,
    we would read behind the end of the buffer.  Using 
    c_ptr_safe(), instead of c_ptr(), ensures that we won't
    read beyond the buffer limit
    
    mysql-6.0-codebase revid: 2617.44.1
    a7bcc44f
set_var.cc 132 KB