Closed JesseEisen closed 7 years ago
fix functionread_until_eof, change strcat to strncat. Cause each time read more the 1024, buf may contains characters unexpected.
read_until_eof
strcat
strncat
buf
fix function
read_until_eof
, changestrcat
tostrncat
. Cause each time read more the 1024,buf
may contains characters unexpected.