In perl.git, the branch smoke-me/jkeenan/tonyc/133575-longjmp-clobbering has been created
<https://perl5.git.perl.org/perl.git/commitdiff/e47580dbde800750d6ee0bf5f480cc9aa9b3bb91?hp=0000000000000000000000000000000000000000> at e47580dbde800750d6ee0bf5f480cc9aa9b3bb91 (commit) - Log ----------------------------------------------------------------- commit e47580dbde800750d6ee0bf5f480cc9aa9b3bb91 Author: Tony Cook <t...@develop-help.com> Date: Thu Jan 3 10:48:05 2019 +1100 (perl #133575) prevent set/longjmp clobbering locals in S_fold_constants My original approach moved the whole switch into the new function, but that was a lot messier, and I don't think it's necessary. pad_swipe() can throw, but only for panics, and in DESTROY if refadjust is true, which isn't the case here. CLEAR_ERRSV() might throw if the code called by CALLRUNOPS() puts an object that dies in DESTROY in $@, but I think that might cause an infinite loop in the original code. ----------------------------------------------------------------------- -- Perl5 Master Repository