1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

2008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)

* vcdiff: Use mktemp (CVE-2008-1694).
This commit is contained in:
Romain Francoise 2008-04-18 18:27:25 +00:00
parent bcb96719b3
commit e4651d75ff
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
* vcdiff: Use mktemp (CVE-2008-1694).
2008-04-10 Jason Rumney <jasonr@gnu.org>
* makefile.w32-in (CLIENTRES): New variable and target.

View File

@ -84,14 +84,14 @@ do
case $f in
s.* | */s.*)
if
rev1=/tmp/geta$$
rev1=`mktemp /tmp/geta.XXXXXXXX`
get -s -p -k $sid1 "$f" > $rev1 &&
case $sid2 in
'')
workfile=`expr " /$f" : '.*/s.\(.*\)'`
;;
*)
rev2=/tmp/getb$$
rev2=`mktemp /tmp/getb.XXXXXXXX`
get -s -p -k $sid2 "$f" > $rev2
workfile=$rev2
esac