• Robin Newhouse's avatar
    Minimize unsafe C functions with safe_strcpy() · dc38d8ea
    Robin Newhouse authored
    Similar to #2480.
    567b6812 introduced safe_strcpy() to minimize the use of C with
    potentially unsafe memory overflow with strcpy() whose use is
    discouraged.
    Replace instances of strcpy() with safe_strcpy() where possible, limited
    here to files in the `sql/` directory.
    
    All new code of the whole pull request, including one or several files
    that are either new files or modified ones, are contributed under the
    BSD-new license. I am contributing on behalf of my employer
    Amazon Web Services, Inc.
    dc38d8ea
mysql_install_db.cc 19.9 KB