Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6e11001a5999cd74cb5dc060ccecdf8915a5e792 https://github.com/Perl/perl5/commit/6e11001a5999cd74cb5dc060ccecdf8915a5e792 Author: Tony Cook <t...@develop-help.com> Date: 2025-04-19 (Sat, 19 Apr 2025)
Changed paths: M deb.c Log Message: ----------- PERLSI_REGCOMP: add debugging string Commit: 7a873feee1d7d7eb21b444a3a8cfb672275f8b5b https://github.com/Perl/perl5/commit/7a873feee1d7d7eb21b444a3a8cfb672275f8b5b Author: Tony Cook <t...@develop-help.com> Date: 2025-04-19 (Sat, 19 Apr 2025) Changed paths: M cop.h M deb.c M pp_ctl.c M t/lib/croak/pp_ctl Log Message: ----------- smartmatch: fail to find the loop instead of crashing dopoptoloop() or dopoptolabel() would find a loop outside the sub called from call_sv() and rewind the context and save stack to outside the context set up by call_sv(), crashes and panics ensure. Switching stacks here also starts a new context stack, so the outer loop isn't found and we don't crash. Most other callers to call_sv() (or call_method() etc) do the same. I'm not entirely sure about passing flags = 1 to push_stackinfo(), this matches pp_sort, but not other callers. Fixes #16608 Commit: 40c98c985e042451af071826137fb2dab04b06d3 https://github.com/Perl/perl5/commit/40c98c985e042451af071826137fb2dab04b06d3 Author: Tony Cook <t...@develop-help.com> Date: 2025-04-19 (Sat, 19 Apr 2025) Changed paths: M class.c M cop.h M deb.c M t/lib/croak/class Log Message: ----------- class.c, injected_constructor: prevent loop exits exiting Using last, next etc would pop the context stack to above the call_sv(), generally resulting in a crash or assertion failure. The search the context to pop to stops at the top of the current context stack, and PUSHSTACKi() switches to a new stack, preventing the search from finding any loop outside the call_sv() Similar to #16608 Commit: b5a660bfc141651f42fd4dedc0cff2364d5f469f https://github.com/Perl/perl5/commit/b5a660bfc141651f42fd4dedc0cff2364d5f469f Author: Tony Cook <t...@develop-help.com> Date: 2025-04-19 (Sat, 19 Apr 2025) Changed paths: M pod/perldelta.pod Log Message: ----------- perldelta for smartmatch, class constructors exiting with loop exits Compare: https://github.com/Perl/perl5/compare/349f8f5bca7d...b5a660bfc141 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications