Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[perl #119949] Stop undef *_, goto &sub from crashing
Commit 049bd5f fixed problems with the wrong @_ being visible after *_ modification followed by goto. In so doing, it made it possible for a null to be placed at the start of the target sub’s pad, because it was not checking that the array it got from PL_defgv was actually non-null. Simply adding the check makes everything work. Conflicts: t/op/goto.t
- Loading branch information
Showing
2 changed files
with
22 additions
and
3 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