[Bug 1062267] New: IPC::Run3::run3($command, \undef) clobbers STDIN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1062267

            Bug ID: 1062267
           Summary: IPC::Run3::run3($command, \undef) clobbers STDIN
           Product: Fedora
           Version: 20
         Component: perl-IPC-RUN3
          Assignee: rc040203@xxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    rc040203@xxxxxxxxxx
   External Bug ID: CPAN 52317



If IPC::Run3::run3() is invoked with \undef for command's standard input, it
will clobber STDIN, so STDIN is unusable after return from run3():

Reproducer:

$ printf '1\n2\n'| perl -MIPC::Run3 -e 'while (<>) { print; run3([q{true}],
\undef) }' 
1

This should print:

1
2

But it stops after first loop.

Observed in perl-IPC-Run3-0.046-3.fc20.noarch, F20.

Reported to upstream, patch is there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=CaSYOvvwS4&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux