1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.3'

* PHP-8.3:
  Fix uninitialized value watchpoint_hit
This commit is contained in:
Niels Dossche
2024-08-09 23:46:35 +02:00

View File

@@ -1476,6 +1476,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
int flags = O_CLOEXEC;