mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Fix uninitialized value watchpoint_hit
This commit is contained in:
@@ -1479,6 +1479,7 @@ void phpdbg_setup_watchpoints(void) {
|
||||
zend_hash_init(PHPDBG_G(watchlist_mem_backup), phpdbg_pagesize / (sizeof(Bucket) + sizeof(uint32_t)), NULL, NULL, 1);
|
||||
|
||||
PHPDBG_G(watch_tmp) = NULL;
|
||||
PHPDBG_G(watchpoint_hit) = false;
|
||||
|
||||
#ifdef HAVE_USERFAULTFD_WRITEFAULT
|
||||
PHPDBG_G(watch_userfaultfd) = syscall(SYS_userfaultfd, O_CLOEXEC);
|
||||
|
||||
Reference in New Issue
Block a user