Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pp_aassign: remove panic check under PERL_RC_STACK
There is some code in S_aassign_copy_common() (helper function for pp_aassign()) which checks for SvIS_FREED() of the current arg. The comments imply that the check is there specifically to help a TODO test in t/op/sort.t not randomly crash. That test does stuff which triggers a premature free of args on the stack. This test was later disabled entirely, as whatever panics or crashes were being triggered weren't being caught by the eval {} it was wrapped in. This commit, only on PERL_RC_STACK builds, skips the SvIS_FREED check, and re-enables the test in sort.t (as a real test, not a TODO).
- Loading branch information
Showing
2 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters