From ae6b6b71cdbfb3fb6e1192178fa1e530a2f07ece Mon Sep 17 00:00:00 2001 From: Tomasz Konojacki Date: Tue, 19 Apr 2022 16:41:23 +0200 Subject: make PERL_USE_SAFE_PUTENV the default and the only option Now environ isn't owned by Perl and calling setenv/putenv in XS code will no longer result in memory corruption. Fixes #19399 --- makedef.pl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'makedef.pl') diff --git a/makedef.pl b/makedef.pl index 0d594043d0..99090cb417 100644 --- a/makedef.pl +++ b/makedef.pl @@ -353,10 +353,6 @@ else { ); } -if ($define{'PERL_USE_SAFE_PUTENV'}) { - ++$skip{PL_use_safe_putenv}; -} - unless ($define{'USE_ITHREADS'}) { ++$skip{PL_thr_key}; ++$skip{PL_user_prop_mutex}; -- cgit v1.2.1