]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Git.pm
process_pipe: warn hackers off using it for bidirectional pipes
[public-inbox.git] / lib / PublicInbox / Git.pm
index ff3ac40f59511aab560b114d4ad73eecc3f067b2..a3813bf2123dc02748a2903f3cdc582ca92db7eb 100644 (file)
@@ -156,6 +156,7 @@ sub _bidi_pipe {
                $self->{$err} = $fh;
                $rdr->{2} = $fh;
        }
+       # see lib/PublicInbox/ProcessPipe.pm for why we don't use that here
        my ($in_r, $p) = popen_rd(\@cmd, undef, $rdr);
        awaitpid($self->{$pid} = $p, undef);
        $self->{"$pid.owner"} = $$;