File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ PHP NEWS
5
5
- Curl:
6
6
. Fix failing tests due to string changes in libcurl 8.6.0. (Ayesh)
7
7
8
+ - DOM:
9
+ . Fix unlikely memory leak in case of namespace removal with extremely deep
10
+ trees. (nielsdos)
11
+
8
12
- FPM:
9
13
. Fixed bug #75712 (getenv in php-fpm should not read $_ENV, $_SERVER).
10
14
(Jakub Zelenka)
@@ -15,6 +19,8 @@ PHP NEWS
15
19
. Fixed array key as hash to string (case insensitive) comparison typo
16
20
for the second operand buffer size (albeit unused for now). (A. Slepykh)
17
21
22
+ 5 Feb 2024, PHP 8.3.3
23
+
18
24
- Core:
19
25
. Fixed timer leak in zend-max-execution-timers builds. (withinboredom)
20
26
. Fixed bug GH-12349 (linking failure on ARM with mold). (Jan Palus)
Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ static void dom_deep_ns_redef(xmlNodePtr node, xmlNsPtr ns_to_redefine)
461
461
if (worklist_size == worklist_capacity ) {
462
462
if (UNEXPECTED (worklist_capacity >= SIZE_MAX / 3 * 2 / sizeof (dom_deep_ns_redef_item ))) {
463
463
/* Shouldn't be possible to hit, but checked for safety anyway */
464
- return ;
464
+ goto out ;
465
465
}
466
466
worklist_capacity = worklist_capacity * 3 / 2 ;
467
467
worklist = erealloc (worklist , sizeof (dom_deep_ns_redef_item ) * worklist_capacity );
@@ -472,6 +472,7 @@ static void dom_deep_ns_redef(xmlNodePtr node, xmlNsPtr ns_to_redefine)
472
472
}
473
473
}
474
474
475
+ out :
475
476
efree (worklist );
476
477
}
477
478
You can’t perform that action at this time.
0 commit comments