Merge branch 'PHP-7.3' into PHP-7.4

This commit is contained in:
George Wang 2020-08-10 19:11:26 -04:00
commit 1b0a2bb0f5

View File

@ -2624,7 +2624,8 @@ int LSAPI_ParseSockAddr( const char * pBind, struct sockaddr * pAddr )
while( isspace( *pBind ) )
++pBind;
strncpy( achAddr, pBind, 256 );
strncpy(achAddr, pBind, 255);
achAddr[255] = 0;
switch( *p )
{