| Store | Cart

[perl #125529] older MS CRTs/libc putenv'es/Time::Piece cause memory corruption

From: bulk88 via RT <perl...@perl.org>
Thu, 2 Jul 2015 11:33:09 -0700
On Thu Jul 02 10:22:01 2015, dolmen wrote:
> The right place to report this issue is probably on GitHub:> https://github.com/rjbs/Time-Piece/

Steve Hay/Tony C/JDB will never see the ticket if I file it there on T::P's github. I don't see RJBS or Sam Smith (T::P's maints) being able to comment on Win32 C issues. Time::Piece's Win32 putenv code was developed on P5P ML in http://www.nntp.perl.org/group/perl.perl5.porters/2009/03/msg145324.html and committed to P5P repo before published on CPAN ( http://perl5.git.perl.org/perl.git/commitdiff/12016aadb5ccd03002d026d37636471225cf9aa5 and http://perl5.git.perl.org/perl.git/commitdiff/6e0733998eff7a098d2d21d5602f3eb2a7521e1f https://github.com/rjbs/Time-Piece/commit/5229c9b71945060c265166e906a26da347025cbc ). This bug also wouldn't happen if Perl core used putenv instead of SetEnvironmentVariable (but I am not advocating this change). This ticket asks if Perl core needs to a C function to resync the Win32 env that Perl uses with the libc CRT env. I think P5P is the most appropriate venue for the ticket.

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=125529

Recent Messages in this Thread
bulk88 (via RT) Jul 02, 2015 09:17 am
Olivier Mengué via RT Jul 02, 2015 05:22 pm
bulk88 via RT Jul 14, 2015 07:07 pm
bulk88 via RT Aug 03, 2015 04:47 am
bulk88 via RT Jul 02, 2015 06:33 pm
Tony Cook via RT Jul 14, 2015 01:32 am
bulk88 via RT Jul 14, 2015 08:04 am
Messages in this thread