Skip to content

Commit 08e7366

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Disable asan instrumentation for phpdbg_watchpoint_userfaultfd_thread
2 parents 4567708 + f415ba6 commit 08e7366

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sapi/phpdbg/phpdbg_watch.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ int phpdbg_watchpoint_segfault_handler(siginfo_t *info, void *context) {
306306
}
307307

308308
#ifdef HAVE_USERFAULTFD_WRITEFAULT
309+
# if defined(__GNUC__) && !defined(__clang__)
310+
__attribute__((no_sanitize_address))
311+
# endif
309312
void *phpdbg_watchpoint_userfaultfd_thread(void *phpdbg_globals) {
310313
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
311314
zend_phpdbg_globals *globals = (zend_phpdbg_globals *) phpdbg_globals;

0 commit comments

Comments
 (0)