Skip to content

Conversation

tonycoz
Copy link
Contributor

@tonycoz tonycoz commented Dec 8, 2020

This code would try to constant fold an op tree like

relop
+- null
+- constant

which would underflow the stack, potentially crashing perl.

This is intended as a quick fix rather than as a complete
solution.

Fixes #18380

This code would try to constant fold an op tree like

  relop
    +- null
    +- constant

which would underflow the stack, potentially crashing perl.

This is intended as a quick fix rather than as a complete
solution.

Fixes Perl#18380
@tonycoz
Copy link
Contributor Author

tonycoz commented Dec 8, 2020

Also appears to fix #17917

@tonycoz tonycoz merged commit 08be3ef into Perl:blead Dec 23, 2020
@tonycoz tonycoz deleted the 18380-chained-kiss-fix branch December 23, 2020 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

crash with no warnings 'uninitialized' and chained comparsion

2 participants