/php-src/sapi/fpm/fpm/ |
H A D | fpm_worker_pool.c | 23 free(*ext); in fpm_worker_pool_free_limit_extensions() 26 free(limit_extensions); in fpm_worker_pool_free_limit_extensions() 32 free(wp->config); in fpm_worker_pool_free() 35 free(wp->user); in fpm_worker_pool_free() 38 free(wp->set_user); in fpm_worker_pool_free() 41 free(wp->home); in fpm_worker_pool_free() 47 free(wp); in fpm_worker_pool_free()
|
H A D | fpm_conf.c | 205 free(*value); in fpm_conf_expand_pool_name() 582 free(kv); in fpm_conf_set_array() 591 free(kv); in fpm_conf_set_array() 599 free(kv); in fpm_conf_set_array() 606 free(kv); in fpm_conf_set_array() 691 free(kv); in fpm_worker_pool_config_free() 697 free(kv); in fpm_worker_pool_config_free() 703 free(kv); in fpm_worker_pool_config_free() 709 free(kv); in fpm_worker_pool_config_free() 1699 free(buf); in fpm_conf_load_ini_file() [all …]
|
H A D | fpm_env.c | 80 free(s); in clearenv() 178 free(kv->value); in fpm_env_conf_wp() 185 free(wp->user); in fpm_env_conf_wp() 190 free(wp->home); in fpm_env_conf_wp() 210 free(allocated_environ[i]); in fpm_env_cleanup() 213 free(allocated_environ); in fpm_env_cleanup()
|
/php-src/win32/ |
H A D | ioutil.h | 189 free(mb); in php_win32_ioutil_conv_any_to_w() 201 free(mb); in php_win32_ioutil_conv_any_to_w() 206 free(ret); in php_win32_ioutil_conv_any_to_w() 207 free(mb); in php_win32_ioutil_conv_any_to_w() 214 free(ret); in php_win32_ioutil_conv_any_to_w() 215 free(mb); in php_win32_ioutil_conv_any_to_w() 233 free(mb); in php_win32_ioutil_conv_any_to_w() 253 free(mb); in php_win32_ioutil_conv_any_to_w() 498 free(pathw); in php_win32_ioutil_chdir() 565 free(pathw); in php_win32_ioutil_chmod() [all …]
|
H A D | readdir.c | 50 free(resolvedw); in opendir() 68 free(filespecw); in opendir() 69 free(resolvedw); in opendir() 78 free(dp); in opendir() 79 free(filespecw); in opendir() 89 free(filespecw); in opendir() 90 free(resolvedw); in opendir() 116 free(_tmp); in readdir() 144 free(dp->dirw); in closedir() 146 free(dp); in closedir() [all …]
|
H A D | wsyslog.c | 70 free(PW32G(log_header)); in closelog() 124 free(strsw[0]); in vsyslog() 125 free(strsw[1]); in vsyslog() 130 free(strsw[0]); in vsyslog() 131 free(strsw[1]); in vsyslog()
|
/php-src/main/ |
H A D | php_open_temporary_file.c | 175 free(cwdw); in php_do_open_temporary_file() 176 free(random_prefix_w); in php_do_open_temporary_file() 185 free(cwdw); in php_do_open_temporary_file() 186 free(random_prefix_w); in php_do_open_temporary_file() 196 free(cwdw); in php_do_open_temporary_file() 197 free(random_prefix_w); in php_do_open_temporary_file() 200 free(opened_path); in php_do_open_temporary_file() 206 free(cwdw); in php_do_open_temporary_file() 207 free(random_prefix_w); in php_do_open_temporary_file() 220 free(opened_path); in php_do_open_temporary_file() [all …]
|
/php-src/ext/gmp/tests/ |
H A D | gmp_setbit_long.phpt | 11 die("skip cannot determine free memory amount."); 14 $free = 0; 17 $free = $m[1]/1024/1024; 19 if ($free < 8) { 20 die("skip not enough free RAM.");
|
/php-src/sapi/cli/ |
H A D | ps_title.c | 233 free(new_argv); in save_ps_args() 384 free(ps_buffer_w); in set_ps_title() 420 free(tmp); in get_ps_title() 447 free(frozen_environ[i]); in cleanup_ps_args() 448 free(frozen_environ); in cleanup_ps_args() 449 free(new_environ); in cleanup_ps_args() 460 free(argv[i]); in cleanup_ps_args() 461 free(argv); in cleanup_ps_args()
|
/php-src/ext/standard/ |
H A D | syslog.c | 46 free(BG(syslog_device)); in PHP_RSHUTDOWN_FUNCTION() 72 free(BG(syslog_device)); in PHP_FUNCTION() 87 free(BG(syslog_device)); in PHP_FUNCTION()
|
H A D | md5.c | 307 uint32_t used, free; in PHP_MD5Update() local 318 free = 64 - used; in PHP_MD5Update() 320 if (size < free) { in PHP_MD5Update() 325 memcpy(&ctx->buffer[used], data, free); in PHP_MD5Update() 326 data = (unsigned char *)data + free; in PHP_MD5Update() 327 size -= free; in PHP_MD5Update() 341 uint32_t used, free; in PHP_MD5Final() local 347 free = 64 - used; in PHP_MD5Final() 349 if (free < 8) { in PHP_MD5Final() 350 memset(&ctx->buffer[used], 0, free); in PHP_MD5Final() [all …]
|
/php-src/Zend/tests/traits/ |
H A D | bug69579.phpt | 2 Bug #69579 (Internal trait double-free) 14 // destruction causes a double-free and explodes
|
/php-src/TSRM/ |
H A D | tsrm_win32.c | 489 free(cmd); in popen_ex() 496 free(cmd); in popen_ex() 497 free(cmdw); in popen_ex() 507 free(cmdw); in popen_ex() 508 free(cwdw); in popen_ex() 509 free(cmd); in popen_ex() 553 free(cmd); in popen_ex() 566 free(cmd); in popen_ex() 567 free(cmdw); in popen_ex() 568 free(cwdw); in popen_ex() [all …]
|
/php-src/ext/ffi/tests/ |
H A D | 007.phpt | 18 FFI::free($v[0]); 19 FFI::free($v[1]);
|
H A D | 035.phpt | 12 FFI::free($p); 28 FFI\Exception: Use after free()
|
H A D | gh14626.phpt | 2 GH-14626: FFI::free() may crash in is_zend_ptr() when at least one huge block exists and the ptr is… 27 FFI::free($ptr);
|
/php-src/Zend/tests/weakrefs/ |
H A D | notify.phpt | 2 Object free handler must call zend_weakrefs_notify 21 printf("free handler of %s did not call zend_weakrefs_notify?\n", $class);
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_match_data.c | 103 match_data->memctl.free(match_data->heapframes, in pcre2_match_data_free() 106 match_data->memctl.free((void *)match_data->subject, in pcre2_match_data_free() 108 match_data->memctl.free(match_data, match_data->memctl.memory_data); in pcre2_match_data_free()
|
H A D | pcre2_context.c | 66 free(block); in default_free() 96 newmemctl->free = default_free; in PRIV() 124 gcontext->memctl.free = private_free; in pcre2_general_context_create() 287 gcontext->memctl.free(gcontext, gcontext->memctl.memory_data); in pcre2_general_context_free() 295 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_compile_context_free() 303 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free() 311 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_convert_context_free()
|
/php-src/ext/xml/tests/ |
H A D | bug72793.phpt | 22 function free(){ 30 $xml_parser->free();
|
/php-src/ext/sqlite3/tests/ |
H A D | bug66550.phpt | 2 Bug #66550 (SQLite prepared statement use-after-free) 13 // Close the database connection and free the internal sqlite3_stmt object
|
H A D | bug69972.phpt | 2 Bug #69972 (Use-after-free vulnerability in sqlite3SafetyCheckSickOrOk()) 14 // Trigger the use-after-free
|
/php-src/ext/dba/ |
H A D | dba_qdbm.c | 84 free(value); in DBA_FETCH_FUNC() 112 free(value); in DBA_EXISTS_FUNC() 138 free(value); in DBA_FIRSTKEY_FUNC() 154 free(value); in DBA_NEXTKEY_FUNC()
|
/php-src/ext/spl/tests/ |
H A D | bug69970.phpt | 2 Bug #69970 (Use-after-free vulnerability in spl_recursive_it_move_forward_ex()) 16 // Trigger use-after-free
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_out.c | 118 free(msgout); in phpdbg_process_print() 153 free(msg); in phpdbg_vprint() 164 free(PHPDBG_G(err_buf).msg); in phpdbg_free_err_buf() 220 free(buffer); in phpdbg_log_internal() 241 free(buffer); in phpdbg_out_internal()
|