• Magne Mahre's avatar
    Bug #38124 (clean-up patch) · 7e895de8
    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
    7e895de8
set_var.cc 132 KB