php-src/main
Bob Weinand e6cf583160 Fix GH-8082: Prevent leaking memory on observed transient run_time_caches
This is achieved by tracking the observers on the run_time_cache (with a fixed amount of slots, 2 for each observer).
That way round, if the run_time_cache is freed all associated observer data is as well.

This approach has been chosen, as to avoid any ABI or API breakage.
Future versions may for example choose to provide a hookable API for run_time_cache freeing or similar.
2022-03-01 14:49:44 +01:00
..
streams Merge branch 'PHP-7.4' into PHP-8.0 2021-11-29 14:48:11 +01:00
alloca.c Remove local variables 2019-02-03 21:03:00 +01:00
build-defs.h.in Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
explicit_bzero.c Fix [-Wundef] warning in main folder 2020-05-12 22:01:00 +02:00
fastcgi.c Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
fastcgi.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
fopen_wrappers.c Merge branch 'PHP-7.4' into PHP-8.0 2021-05-25 13:46:38 +02:00
fopen_wrappers.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
getopt.c Merge branch 'PHP-7.4' 2020-01-27 13:32:51 +01:00
http_status_codes.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
internal_functions_win32.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
internal_functions.c.in Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
main.c Fix GH-8082: Prevent leaking memory on observed transient run_time_caches 2022-03-01 14:49:44 +01:00
network.c Merge branch 'PHP-7.4' into master 2020-09-11 14:49:07 +02:00
output.c Merge branch 'PHP-7.4' into PHP-8.0 2021-07-15 15:29:48 +02:00
php_compat.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_content_types.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
php_content_types.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_getopt.h Merge branch 'PHP-7.4' 2020-01-27 13:32:51 +01:00
php_globals.h Revert "Remove no longer used "log_errors_max_len" ini directive (#6838)" 2021-05-08 20:54:53 +02:00
php_ini.c Fix invalid memory read on libpath 2020-10-21 10:07:07 +02:00
php_ini.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
php_main.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_memory_streams.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
php_network.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
php_open_temporary_file.c Merge branch 'PHP-7.4' into PHP-8.0 2021-01-19 11:44:22 +01:00
php_open_temporary_file.h Merge branch 'PHP-7.4' into PHP-8.0 2021-01-19 11:44:22 +01:00
php_output.h Make sure output start filename is not freed early 2020-10-16 17:27:52 +02:00
php_reentrancy.h Remove rand_r implementation 2020-03-26 11:49:27 +01:00
php_scandir.c Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_scandir.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_stdint.h Remove no longer needed stdint compatibility defines 2020-07-23 13:00:04 +02:00
php_streams.h Suppress stream errors in mysqlnd 2020-11-30 15:06:28 +01:00
php_syslog.c Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_syslog.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_ticks.c Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_ticks.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_variables.c Fix GH-7896: Environment vars may be mangled on Windows 2022-01-17 23:44:41 +01:00
php_variables.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
php_version.h Bump for 8.0.17-dev 2022-02-02 23:44:02 +00:00
php.h Merge branch 'PHP-7.4' into PHP-8.0 2021-04-19 16:17:01 +02:00
reentrancy.c Merge branch 'PHP-7.4' 2020-06-29 17:47:21 +02:00
rfc1867.c Merge branch 'PHP-7.4' into PHP-8.0 2021-01-19 11:44:22 +01:00
rfc1867.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
SAPI.c Fix #78792: zlib.output_compression disabled by Content-Type: image/ 2020-09-29 11:30:06 +02:00
SAPI.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
snprintf.c Drop unnecessary stdint and inttypes header checks 2020-04-22 20:18:19 +02:00
snprintf.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
spprintf.c Drop unnecessary stdint and inttypes header checks 2020-04-22 20:18:19 +02:00
spprintf.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
strlcat.c Add "const". Move constant strings to read-only memory. 2020-09-07 21:35:48 +03:00
strlcpy.c Add "const". Move constant strings to read-only memory. 2020-09-07 21:35:48 +03:00