Commit 249465e1 authored by unknown's avatar unknown

Merge neptunus.(none):/home/msvensson/mysql/my50-m-bug21042

into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint

parents 6528be27 a49144c8
...@@ -2858,7 +2858,7 @@ com_connect(String *buffer, char *line) ...@@ -2858,7 +2858,7 @@ com_connect(String *buffer, char *line)
bzero(buff, sizeof(buff)); bzero(buff, sizeof(buff));
if (buffer) if (buffer)
{ {
strmov(buff, line); strxnmov(buff, sizeof(buff), line, NullS);
tmp= get_arg(buff, 0); tmp= get_arg(buff, 0);
if (tmp && *tmp) if (tmp && *tmp)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment