php-src/ext/sockets
David Carlier e583890af0
Fix socket_recvfrom overflow on buffer size.
when passing PHP_INT_MAX for the $length param we get this (with ubsan)

`ext/sockets/sockets.c:1409:36: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'`

close GH-16382
2024-10-12 15:23:03 +01:00
..
tests Fix socket_recvfrom overflow on buffer size. 2024-10-12 15:23:03 +01:00
config.m4 Fix GH-7978: sockets extension compilation errors 2022-01-21 23:56:56 +01:00
config.w32 Fix Windows build for shared ext/sockets 2020-09-08 22:54:21 +02:00
conversions.c Merge branch 'PHP-8.1' into PHP-8.2 2023-03-29 19:47:38 +02:00
conversions.h Fix GH-9493: fix ancillary data build for FreeBSD prior to the 13 release. (#9496) 2022-09-08 09:10:16 +01:00
CREDITS
multicast.c Merge branch 'PHP-8.0' into PHP-8.1 2022-01-04 14:12:56 +01:00
multicast.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_sockets.h Fix: sockets constants 2022-09-14 15:27:29 +02:00
sendrecvmsg.c Declare ext/sockets constants in stubs (#9349) 2022-08-16 13:18:31 +02:00
sendrecvmsg.h Declare ext/sockets constants in stubs (#9349) 2022-08-16 13:18:31 +02:00
sockaddr_conv.c Merge branch 'PHP-8.0' into PHP-8.1 2022-05-22 23:27:47 +02:00
sockaddr_conv.h
sockets_arginfo.h Fix GH-9574: SOCKET_EPROTO constant missing since PHP 8.2 dev 2022-09-19 14:41:30 +02:00
sockets.c Fix socket_recvfrom overflow on buffer size. 2024-10-12 15:23:03 +01:00
sockets.stub.php Fix GH-9574: SOCKET_EPROTO constant missing since PHP 8.2 dev 2022-09-19 14:41:30 +02:00
windows_common.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00