mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: Fix Bug #81588 TokyoCabinet driver leaks memory
This commit is contained in:
commit
5a3774cac5
3 changed files with 5 additions and 0 deletions
3
NEWS
3
NEWS
|
@ -13,6 +13,9 @@ PHP NEWS
|
|||
. Fixed bug #81500 (Interval serialization regression since 7.3.14 / 7.4.2).
|
||||
(cmb)
|
||||
|
||||
- DBA:
|
||||
. Fixed bug #81588 (TokyoCabinet driver leaks memory). (girgias)
|
||||
|
||||
- FPM:
|
||||
. Fixed bug #81026 (PHP-FPM oob R/W in root process leading to privilege
|
||||
escalation) (CVE-2021-21703). (Jakub Zelenka)
|
||||
|
|
|
@ -79,6 +79,7 @@ DBA_CLOSE_FUNC(tcadb)
|
|||
TCADB_DATA;
|
||||
|
||||
tcadbclose(dba->tcadb);
|
||||
tcadbdel(dba->tcadb);
|
||||
pefree(dba, info->flags & DBA_PERSISTENT);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ dba
|
|||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$handler = 'tcadb';
|
||||
$lock_flag = 'l';
|
||||
$db_filename = $db_file = __DIR__ .'/test0.tch';
|
||||
@unlink($db_filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue