Skip to content

Commit 91fb452

Browse files
author
Sascha Schumann
committed
The ob_start issue is reproducible.
1 parent 6e84cda commit 91fb452

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

TODO_SEGFAULTS

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,23 @@ Open:
3636
(3) calling ob_start in weird ways caused a segfault in
3737
php_formatted_print(). In this line:
3838

39-
format = Z_STRVAL_PP(args[0]);
39+
format = Z_STRVAL_PP(args[0]);
4040

4141
format was zero. The zval appeared to be fubar'ed.
4242

43-
I am not able to reproduce this particular issue at the moment. I
44-
was not able to create a simple test case for this initially, so
45-
the lack of reproducibility likely relates to modifications in the
46-
now-extended test script.
43+
The current do_crash script does not cause a segfault. An older
44+
version does however:
4745

46+
<URL:http://schumann.cx/do_crash_ob_start.txt>
4847

4948

5049
Methodology
5150

5251
1. Use a plain PHP_4_3 tree
5352
2. Use the config.nice from ammendment 1.
54-
3. Download the test script
53+
3. Download the test script from:
5554

56-
<URL:http://schumann.cx/do_crash.txt>
55+
<URL:http://schumann.cx/do_crash.txt>
5756

5857
4a. Use the scripts funcparse.awk/genfunclist.sh from phpdoc/scripts
5958
for creating a plain text function list. Feed that list to

0 commit comments

Comments
 (0)