Searched refs:init_file (Results 1 – 5 of 5) sorted by relevance
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg_prompt.h | 24 void phpdbg_init(char *init_file, size_t init_file_len, bool use_default); 25 void phpdbg_try_file_init(char *init_file, size_t init_file_len, bool free_init);
|
H A D | phpdbg_prompt.c | 207 const char *init_file; member 266 if (state->init_file) { in phpdbg_line_init() 310 if (init_file && VCWD_STAT(init_file, &sb) != -1) { in phpdbg_try_file_init() 311 FILE *fp = fopen(init_file, "r"); in phpdbg_try_file_init() 316 state.init_file = init_file; in phpdbg_try_file_init() 328 phpdbg_error("Failed to open %s for initialization", init_file); in phpdbg_try_file_init() 332 free(init_file); in phpdbg_try_file_init() 339 if (init_file) { in phpdbg_init() 340 phpdbg_try_file_init(init_file, init_file_len, 1); in phpdbg_init() 366 phpdbg_try_file_init(init_file, strlen(init_file), 0); in phpdbg_init() [all …]
|
H A D | phpdbg.c | 1132 char *init_file; in main() local 1181 init_file = NULL; in main() 1241 if (init_file) { in main() 1242 free(init_file); in main() 1243 init_file = NULL; in main() 1248 init_file = strdup(php_optarg); in main() 1392 if (init_file) { in main() 1393 free(init_file); in main() 1516 phpdbg_init(init_file, init_file_len, init_file_default); in main()
|
/PHP-8.3/sapi/phpdbg/tests/ |
H A D | gh12962.phpt | 2 GH-12962 (Double free of init_file in phpdbg_prompt.c)
|
/PHP-8.3/ |
H A D | NEWS | 1041 . Fixed bug GH-12962 (Double free of init_file in phpdbg_prompt.c). (nielsdos)
|
Completed in 24 milliseconds