mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Merge branch 'PHP-7.3' into PHP-7.4
This commit is contained in:
commit
1b0a2bb0f5
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user