Skip to content

Conversation

@devnexen
Copy link
Member

@devnexen devnexen commented Jan 5, 2026

mitigate it with stack check limit.

@devnexen devnexen marked this pull request as ready for review January 5, 2026 21:48
@devnexen devnexen requested a review from bukka as a code owner January 5, 2026 21:48
@iluuu1994
Copy link
Member

iluuu1994 commented Jan 5, 2026

Does this actually need to error (it's a debugging-tool after all) or may we just print a placeholder and resume? I don't feel strongly either way, this is mostly a cosmetic fuzzer problem and should rarely occur in the real world.

@devnexen
Copy link
Member Author

devnexen commented Jan 6, 2026

I can always write RECURSION instead if this is what you mean, let s see what other people think.

@arnaud-lb
Copy link
Member

Printing a placeholder would make sense 👍

Maybe something similar to "nesting level too deep" instead of "RECURSION", as the latter would imply that the structure is recursive.

@devnexen
Copy link
Member Author

devnexen commented Jan 8, 2026

makes sense arnaud. I ll apply your suggestion later today. Cheers !

devnexen added a commit to devnexen/php-src that referenced this pull request Jan 9, 2026
mitigate it with stack check limit.

close phpGH-20843
devnexen added a commit to devnexen/php-src that referenced this pull request Jan 9, 2026
mitigate it with stack check limit.

close phpGH-20843
devnexen added a commit to devnexen/php-src that referenced this pull request Jan 9, 2026
mitigate it with stack check limit.

close phpGH-20843
devnexen added a commit to devnexen/php-src that referenced this pull request Jan 9, 2026
mitigate it with stack check limit.

close phpGH-20843
Copy link
Member

@arnaud-lb arnaud-lb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me!

Comment on lines 83 to 89
level + 1, ' ', ZSTR_VAL(type_str));
level + 1, ' ', ZSTR_VAL(type_str));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental whitespace change?

mitigate it with stack check limit.

close phpGH-20843
@devnexen devnexen closed this in 5d2456f Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants