[Bug build/23991] New: shell-container typo in run_command_array

carlos at redhat dot com sourceware-bugzilla@sourceware.org
Fri Dec 14 20:32:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23991

            Bug ID: 23991
           Summary: shell-container typo in run_command_array
           Product: glibc
           Version: 2.30
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

In support/shell-container.c (run_command_arra):

228       if (new_stderr != 2)
229         {
230           dup2 (new_stderr, 2);
231           close (new_stdout);
232         }

This looks like a typo. We should close new_stderr after the dup2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list