Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(perl #131562) correct large line numbers copying eval lines on #line
Previously this used I32 for line numbers, which takes half the range of line_t and folds it into negative numbers, leading to trying to store the lines at negative indexes. The while loop was also modified to stop storing if/when the line number no longer fits into cop_line, or no longer fits into SSize_t (as a positive number) since the index parameter to av_store() is a SSize_t.
- Loading branch information