This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Do not honor TMPDIR for anonymous temporary files when tainting
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 10 Jun 2009 20:42:15 +0000 (22:42 +0200)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 10 Jun 2009 20:44:54 +0000 (22:44 +0200)
commit0b99e9860ee94a7d55fe93fe492e8286fdfa409d
tree5ac72afd8b37d48b90470c54d9f04c309d3422b5
parent92a24ac3df5779ed0c9681cafefdd31fc6e1ae98
Do not honor TMPDIR for anonymous temporary files when tainting

Use a default of /tmp on Unixes when TMPDIR is unset or empty, or
when creation of a temporary file in it fails

This goes on top of commit 26e8050aaf2eeca2f04cdc7bc5df07f8dc4ff0f9
perlio.c
t/io/perlio.t