In perl.git, the branch tonyc/ipc_open has been created

<http://perl5.git.perl.org/perl.git/commitdiff/c85f23b236fa90fedd9cceed2da12481184d5bbf?hp=0000000000000000000000000000000000000000>

        at  c85f23b236fa90fedd9cceed2da12481184d5bbf (commit)

- Log -----------------------------------------------------------------
commit c85f23b236fa90fedd9cceed2da12481184d5bbf
Author: Daniel Dragan <[email protected]>
Date:   Tue Jul 7 12:59:01 2015 -0400

    dont report a $@ exception with uninitialized $!'s message in IPC::Open3
    
    Commit a24d8dfd08 "Make IPC::Open3 work without fork()" from 5.003 created
    an eval block, and if that eval block threw an exception, instead of
    propagating $@, the code propagated $!, even though no system call was done
    and $! is effectivly unintialized data. In one case for me, a taint
    exception inside system was turned into open3() throwing an exception
    about "Inappropriate I/O control operation" or "Bad file descriptor", which
    had nothing to do with the real fault which was a Perl C level croak with
    the message "Insecure $ENV{PATH} while running with -T switch at ..."
    which was called as Perl_pp_system->Perl_taint_env->Perl_taint_proper->
    Perl_croak->Perl_vcroak. This patch does not try to fix the ambiguity of
    the error messages between the !DO_SPAWN and IO::Pipe
    branches/implementations of _open3.
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to