]> git.pld-linux.org Git - packages/arpwatch.git/blob - arpwatch-debian_22secure_tempfile.patch
- 2.1a15
[packages/arpwatch.git] / arpwatch-debian_22secure_tempfile.patch
1 Index: arpwatch/bihourly
2 diff -u arpwatch/bihourly:1.1.1.1 arpwatch/bihourly:1.1.1.1.18.1
3 --- arpwatch/bihourly.sh:1.1.1.1        Tue Apr 17 13:31:36 2001
4 +++ arpwatch/bihourly.sh        Wed Aug 11 21:54:18 2004
5 @@ -10,8 +10,8 @@
6  #
7  list="`cat list`"
8  cname="`cat cname`"
9 -temp1=/tmp/bihourly.1.$$
10 -temp2=/tmp/bihourly.2.$$
11 -d=/tmp/errs
12 +temp1=`mktemp`
13 +temp2=`mktemp`
14 +d=`mktemp -d`
15  
16  # imperfect hack
17 Index: arpwatch/mkdep
18 diff -u arpwatch/mkdep:1.1.1.1 arpwatch/mkdep:1.1.1.1.18.1
19 --- arpwatch/mkdep:1.1.1.1      Tue Apr 17 13:31:37 2001
20 +++ arpwatch/mkdep      Wed Aug 11 21:54:18 2004
21 @@ -51,7 +51,7 @@
22         exit 1
23  fi
24  
25 -TMP=/tmp/mkdep$$
26 +TMP=`mktemp -p mkdep -s .tmp`
27  
28  trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
29  
This page took 0.18866 seconds and 3 git commands to generate.