ports/152499: Redirections in es may take effect in the shell itself

Harald Hanche-Olsen hanche at math.ntnu.no
Mon Nov 22 22:20:09 UTC 2010


>Number:         152499
>Category:       ports
>Synopsis:       Redirections in es may take effect in the shell itself
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 22 22:20:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Harald Hanche-Olsen
>Release:        8.1-STABLE
>Organization:
>Environment:
FreeBSD shuttle 8.1-STABLE FreeBSD 8.1-STABLE #2: Wed Aug 25 22:10:31 CEST 2010     root at shuttle:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
In es, redirections in failed commands take effect in the parent shell.
>How-To-Repeat:
Method 1: Start es, then execute
; foo > bar
where foo is an unknown command. The shell's stdout is now redirected to the file bar.

Method 2: Start es, then execute
; sleep 60 > bar
and then interrupt sleep with Ctrl-C. Again, the shell's stdout is redirected to bar.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list