File tree 3 files changed +20
-0
lines changed
3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ PHP NEWS
58
58
. Fixed bug GH-16695 (phar:// tar parser and zero-length file header blocks).
59
59
(nielsdos, Hans Krentel)
60
60
61
+ - PHPDBG:
62
+ . Fixed bug GH-15208 (Segfault with breakpoint map and phpdbg_clear()).
63
+ (nielsdos)
64
+
61
65
- SimpleXML:
62
66
. Fixed bug GH-16808 (Segmentation fault in RecursiveIteratorIterator
63
67
->current() with a xml element input). (nielsdos)
Original file line number Diff line number Diff line change @@ -369,6 +369,7 @@ PHP_FUNCTION(phpdbg_clear)
369
369
zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_FILE_OPLINE ]);
370
370
zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_OPLINE ]);
371
371
zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_METHOD ]);
372
+ zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_MAP ]);
372
373
zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_COND ]);
373
374
} /* }}} */
374
375
Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ GH-15208 (Segfault with breakpoint map and phpdbg_clear())
3
+ --PHPDBG--
4
+ r
5
+ q
6
+ --FILE--
7
+ <?php
8
+ phpdbg_break_method ("foo " , "bar " );
9
+ phpdbg_clear ();
10
+ ?>
11
+ --EXPECTF--
12
+ [Successful compilation of %s]
13
+ prompt> [Breakpoint #0 added at foo::bar]
14
+ [Script ended normally]
15
+ prompt>
You can’t perform that action at this time.
0 commit comments