diff options
author | cperciva <cperciva@FreeBSD.org> | 2005-09-07 13:39:44 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2005-09-07 13:39:44 +0000 |
commit | b5dafedcd720bd0052d9d213a23fa0db16c98e8d (patch) | |
tree | 768b403a1aee5c1c405899b60f40caa45af42e53 /contrib/cvs | |
parent | 4b003b628329fa175ce0583570e057fcdc81ab0a (diff) | |
download | FreeBSD-src-b5dafedcd720bd0052d9d213a23fa0db16c98e8d.zip FreeBSD-src-b5dafedcd720bd0052d9d213a23fa0db16c98e8d.tar.gz |
Correct insecure temporary file usage.
Security: FreeBSD-SA-05:20.cvsbug
Diffstat (limited to 'contrib/cvs')
-rwxr-xr-x | contrib/cvs/src/cvsbug.in | 2 |
1 files changed, 0 insertions, 2 deletions
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 |