mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
MFH
This commit is contained in:
parent
7dc7882745
commit
6ac8ffdfea
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ PHP_FUNCTION(stream_socket_recvfrom)
|
|||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
read_buf = emalloc(to_read + 1);
|
||||
read_buf = safe_emalloc(1, to_read, 1);
|
||||
|
||||
recvd = php_stream_xport_recvfrom(stream, read_buf, to_read, flags, NULL, NULL,
|
||||
zremote ? &Z_STRVAL_P(zremote) : NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue