File tree 2 files changed +8
-5
lines changed 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 9
9
15 Aug 2024, PHP 8.3.11
10
10
11
11
- Core:
12
+ . Fixed bug GH-15408 (MSan false-positve on zend_max_execution_timer).
13
+ (zeriyoshi)
12
14
. Fixed bug GH-15020 (Memory leak in Zend/Optimizer/escape_analysis.c).
13
15
(nielsdos)
14
16
. Fixed bug GH-15023 (Memory leak in Zend/zend_ini.c). (nielsdos)
Original file line number Diff line number Diff line change 24
24
#include <sys/syscall.h>
25
25
#include <sys/types.h>
26
26
27
+ #include "zend.h"
28
+ #include "zend_globals.h"
29
+ #include "zend_portability.h"
30
+
27
31
#if __has_feature (memory_sanitizer )
28
32
# include <sanitizer/msan_interface.h>
29
33
#endif
30
34
31
- #include "zend.h"
32
- #include "zend_globals.h"
33
-
34
35
// Musl Libc defines this macro, glibc does not
35
36
// According to "man 2 timer_create" this field should always be available, but it's not: https://sourceware.org/bugzilla/show_bug.cgi?id=27417
36
37
# ifndef sigev_notify_thread_id
@@ -53,8 +54,8 @@ ZEND_API void zend_max_execution_timer_init(void) /* {{{ */
53
54
54
55
#if __has_feature (memory_sanitizer )
55
56
/* MSan does not intercept timer_create() */
56
- __msan_unpoison (& EG (max_execution_timer_timer ),
57
- sizeof (EG (max_execution_timer_timer )));
57
+ __msan_unpoison (& EG (max_execution_timer_timer ),
58
+ sizeof (EG (max_execution_timer_timer )));
58
59
#endif
59
60
60
61
// Measure wall time instead of CPU time as originally planned now that it is possible https://github.com/php/php-src/pull/6504#issuecomment-1370303727
You can’t perform that action at this time.
0 commit comments