Commit 155bf26d authored by msvensson@neptunus.(none)'s avatar msvensson@neptunus.(none)

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

into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
parents 10f3b6aa b3bbb378
...@@ -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