mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +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:
commit
0fa9afb04a
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue