Commit 95de358c authored by Romain Francoise's avatar Romain Francoise

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

	* vcdiff: Use mktemp (CVE-2008-1694).
parent 8a7d9183
2008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
* vcdiff: Use mktemp (CVE-2008-1694).
2008-04-09 Jason Rumney <jasonr@gnu.org>
* makefile.w32-in (distclean, maintainer-clean): New targets.
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment