php-src/sapi
Nikita Popov 14f599ea7d Use zend_long for resource ID
Currently, resource IDs are limited to 32-bits. As resource IDs
are not reused, this means that resource ID overflow for
long-running processes is very possible.

This patch switches resource IDs to use zend_long instead, which
means that on 64-bit systems, 64-bit resource IDs will be used.
This makes resource ID overflow practically impossible.

The tradeoff is an 8 byte increase in zend_resource size.

Closes GH-7436.
2021-08-31 14:58:59 +02:00
..
apache2handler Return value from ZEND_ATOL 2021-07-12 16:51:24 +02:00
cgi Merge branch 'PHP-8.0' 2021-07-15 19:16:21 +02:00
cli Fix #78919: CLI server: insufficient cleanup if request startup fails 2021-08-17 12:41:06 +02:00
embed Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
fpm Sync the FPM openmetrics status with php-fpm_exporter 2021-07-21 19:58:36 +01:00
fuzzer Fix strict-prototypes warning 2021-08-30 10:43:21 +02:00
litespeed Litespeed sapi OpenBSD build fix (#3999) 2021-06-09 09:11:54 +02:00
phpdbg Use zend_long for resource ID 2021-08-31 14:58:59 +02:00