This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_subst: use SSize_t for substring sizes
authorTony Cook <tony@develop-help.com>
Thu, 6 Apr 2023 04:35:54 +0000 (14:35 +1000)
committerTony Cook <tony@develop-help.com>
Thu, 27 Jul 2023 03:58:54 +0000 (13:58 +1000)
commitd5fbf546cd1a836de6627229a0fac1df4acd0c0e
tree77a93ae641c48d7a36c44a7b35375a8d0e82e49c
parent5e5bed8b47b6ce94e1e5c6d04d8a2495f58fe3d4
pp_subst: use SSize_t for substring sizes

I wasn't able to make this misbehave, since with a COW enabled
perl a COW copy of the input SV is created when the regexp is
matched above, and this entire block is skipped down to "have_a_cow:"
pp_hot.c