mirror of
https://github.com/php/php-src.git
synced 2026-03-29 19:52:20 +02:00
Merge branch 'PHP-8.2'
* PHP-8.2: Fix GH-10052: Browscap crashes PHP 8.1.12 on request shutdown (apache2)
This commit is contained in:
@@ -432,7 +432,7 @@ static int browscap_read_file(char *filename, browser_data *browdata, int persis
|
||||
ctx.current_section_name = NULL;
|
||||
zend_hash_init(&ctx.str_interned, 8, NULL, str_interned_dtor, persistent);
|
||||
|
||||
zend_parse_ini_file(&fh, 1, ZEND_INI_SCANNER_RAW,
|
||||
zend_parse_ini_file(&fh, persistent, ZEND_INI_SCANNER_RAW,
|
||||
(zend_ini_parser_cb_t) php_browscap_parser_cb, &ctx);
|
||||
|
||||
/* Destroy parser context */
|
||||
|
||||
Reference in New Issue
Block a user