diff -ruN mysql-5.5.58.org/client/mysql.cc mysql-5.5.58/client/mysql.cc
--- mysql-5.5.58.org/client/mysql.cc	2017-09-13 23:20:41.000000000 +0800
+++ mysql-5.5.58/client/mysql.cc	2018-01-18 20:47:40.430626033 +0800
@@ -2671,7 +2671,7 @@
         mysql_free_result(fields);
         break;
       }
-      field_names[i][num_fields*2]= '\0';
+      field_names[i][num_fields*2]= NULL;
       j=0;
       while ((sql_field=mysql_fetch_field(fields)))
       {
