Commit e47833bc authored by serg@serg.mysql.com's avatar serg@serg.mysql.com
Browse files

errmsg.c buffer overflow in libmysqlclient fixed

parent 802fc0a0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ const char *client_errors[]=
  "MySQL client got out of memory",
  "Wrong host info",
  "Localhost via UNIX socket",
  "%s via TCP/IP",
  "%-.64s via TCP/IP",
  "Error in server handshake",
  "Lost connection to MySQL server during query",
  "Commands out of sync; You can't run this command now",
@@ -62,11 +62,11 @@ const char *client_errors[]=
  "MySQL client run out of memory",
  "Wrong host info",
  "Localhost via UNIX socket",
  "%s via TCP/IP",
  "%-.64s via TCP/IP",
  "Error in server handshake",
  "Lost connection to MySQL server during query",
  "Commands out of sync;  You can't run this command now",
  "%s via named pipe",
  "%-.64s via named pipe",
  "Can't wait for named pipe to host: %-.64s  pipe: %-.32s (%lu)",
  "Can't open named pipe to host: %-.64s  pipe: %-.32s (%lu)",
  "Can't set state of named pipe to host: %-.64s  pipe: %-.32s (%lu)",