$: <<sep1 <<sep2 cat
heredoc :hey
heredoc :sep1
heredoc :sep2
==437528== Syscall param wait4(pid) contains uninitialised byte(s)
==437528== at 0x4999C3A: wait4 (wait4.c:27)
==437528== by 0x408237: pipe_wait (pipe_wait.c:38)
==437528== by 0x4081DC: pipe_run_end (pipe_run_end.c:19)
==437528== by 0x408198: pipe_run (pipe_run.c:41)
==437528== by 0x403BA2: cmd_exec (cmd_exec.c:36)
==437528== by 0x4086E7: handle_str (handle_str.c:38)
==437528== by 0x4085BF: get_input (get_input.c:28)
==437528== by 0x4013D8: main (main.c:42)
==437528== Uninitialised value was created by a stack allocation
==437528== at 0x4080C0: pipe_run (pipe_run.c:16)
==437528==
$: <<sep1 <<sep2 cat heredoc :hey heredoc :sep1 heredoc :sep2 ==437528== Syscall param wait4(pid) contains uninitialised byte(s) ==437528== at 0x4999C3A: wait4 (wait4.c:27) ==437528== by 0x408237: pipe_wait (pipe_wait.c:38) ==437528== by 0x4081DC: pipe_run_end (pipe_run_end.c:19) ==437528== by 0x408198: pipe_run (pipe_run.c:41) ==437528== by 0x403BA2: cmd_exec (cmd_exec.c:36) ==437528== by 0x4086E7: handle_str (handle_str.c:38) ==437528== by 0x4085BF: get_input (get_input.c:28) ==437528== by 0x4013D8: main (main.c:42) ==437528== Uninitialised value was created by a stack allocation ==437528== at 0x4080C0: pipe_run (pipe_run.c:16) ==437528==