diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2005-09-07 13:39:44 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2005-09-07 13:39:44 +0000 |
commit | 9020d67cf5bb819bfdb3f7135f4baacdc4667f9f (patch) | |
tree | 768b403a1aee5c1c405899b60f40caa45af42e53 /contrib/cvs | |
parent | 5ddf29857e73e7cc9f83c0605b95ab63edd91ae5 (diff) | |
download | src-9020d67cf5bb819bfdb3f7135f4baacdc4667f9f.tar.gz src-9020d67cf5bb819bfdb3f7135f4baacdc4667f9f.zip |
Correct insecure temporary file usage.
Security: FreeBSD-SA-05:20.cvsbug
Notes
Notes:
svn path=/head/; revision=149851
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 efc156d35fcf..07de1512249e 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 |