NetBSD-Bugs archive

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

PR/43639 CVS commit: src/bin/sh

The following reply was made to PR bin/43639; it has been noted by GNATS.

From: "Robert Elz" <>
Subject: PR/43639 CVS commit: src/bin/sh
Date: Wed, 1 Jun 2016 05:10:41 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Wed Jun  1 05:10:41 UTC 2016
 Modified Files:
 	src/bin/sh: eval.c
 Log Message:
 PR bin/43639
 Redo earlier fix to only prohibit sourcing directories and block special files.
 char specials (/dev/tty, /dev/null, ... incl /dev/rwd0a) and fifos are OK.
 Posix actually requires that we find only readable files - that is not yet
 implemented (doing it sanely, without opening the file twice, is going to
 take some more modifications to code elsewhere).
 To generate a diff of this commit:
 cvs rdiff -u -r1.127 -r1.128 src/bin/sh/eval.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index