Skip to content

Commit 48bb8fe

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Fix uninitialized value watchpoint_hit
2 parents 667a565 + 76dae3d commit 48bb8fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/phpdbg/phpdbg_watch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,6 +1476,7 @@ void phpdbg_setup_watchpoints(void) {
14761476
zend_hash_init(PHPDBG_G(watchlist_mem_backup), phpdbg_pagesize / (sizeof(Bucket) + sizeof(uint32_t)), NULL, NULL, 1);
14771477

14781478
PHPDBG_G(watch_tmp) = NULL;
1479+
PHPDBG_G(watchpoint_hit) = false;
14791480

14801481
#ifdef HAVE_USERFAULTFD_WRITEFAULT
14811482
int flags = O_CLOEXEC;

0 commit comments

Comments
 (0)