Home
last modified time | relevance | path

Searched refs:init_file (Results 1 – 5 of 5) sorted by relevance

/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_prompt.h24 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 Dphpdbg_prompt.c207 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 Dphpdbg.c1132 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 Dgh12962.phpt2 GH-12962 (Double free of init_file in phpdbg_prompt.c)
/PHP-8.3/
H A DNEWS1041 . Fixed bug GH-12962 (Double free of init_file in phpdbg_prompt.c). (nielsdos)

Completed in 21 milliseconds