• unknown's avatar
    Bug#21042 mysql client segfaults on importing a mysqldump export · 71c896c2
    unknown authored
     - Use strmake, that will both protect the buffer and make sure it's terminated by a zero
     - Add test case
    
    
    client/mysql.cc:
      Use strmake instead of strxnmov as that function will make sure the string is terminated by 0
    mysql-test/r/mysql.result:
      Update test result
    mysql-test/t/mysql.test:
      Add test case
    71c896c2
mysql.cc 103 KB