From b5dafedcd720bd0052d9d213a23fa0db16c98e8d Mon Sep 17 00:00:00 2001 From: cperciva Date: Wed, 7 Sep 2005 13:39:44 +0000 Subject: Correct insecure temporary file usage. Security: FreeBSD-SA-05:20.cvsbug --- contrib/cvs/src/cvsbug.in | 2 -- 1 file changed, 2 deletions(-) (limited to 'contrib/cvs/src') diff --git a/contrib/cvs/src/cvsbug.in b/contrib/cvs/src/cvsbug.in index efc156d..07de151 100755 --- a/contrib/cvs/src/cvsbug.in +++ b/contrib/cvs/src/cvsbug.in @@ -109,14 +109,12 @@ elif [ -f /bin/domainname ]; then /usr/bin/ypcat passwd 2>/dev/null | cat - /etc/passwd | grep "^$LOGNAME:" | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP ORIGINATOR="`cat $TEMP`" - rm -f $TEMP fi fi if [ "$ORIGINATOR" = "" ]; then grep "^$LOGNAME:" /etc/passwd | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP ORIGINATOR="`cat $TEMP`" - rm -f $TEMP fi if [ -n "$ORGANIZATION" ]; then -- cgit v1.1