mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.3' into PHP-7.4
This commit is contained in:
commit
1b0a2bb0f5
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue