mirror of
https://github.com/curl/curl.git
synced 2026-06-01 23:04:15 +03:00
Eric fixed a wild write
This commit is contained in:
parent
8f304d8167
commit
1c8da21083
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ int Curl_GetFTPResponse(char *buf,
|
|||
int i;
|
||||
for(meow=line_start, i=0; meow<ptr; meow++, i++)
|
||||
buf[i] = *meow;
|
||||
meow[i]=0; /* zero terminate */
|
||||
*meow=0; /* zero terminate */
|
||||
keepon=FALSE;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue