[med-svn] r2879 - trunk/packages/arb/trunk/debian/bin
tille at alioth.debian.org
tille at alioth.debian.org
Mon Dec 29 17:58:31 UTC 2008
Author: tille
Date: 2008-12-29 17:58:30 +0000 (Mon, 29 Dec 2008)
New Revision: 2879
Modified:
trunk/packages/arb/trunk/debian/bin/arb-kill
Log:
Fix in Debian own code CVE-2008-5378
Modified: trunk/packages/arb/trunk/debian/bin/arb-kill
===================================================================
--- trunk/packages/arb/trunk/debian/bin/arb-kill 2008-12-29 17:50:02 UTC (rev 2878)
+++ trunk/packages/arb/trunk/debian/bin/arb-kill 2008-12-29 17:58:30 UTC (rev 2879)
@@ -7,12 +7,20 @@
grep -w -e arb -e arb_ntree | \
grep -v nxagent | \
sed "s/^${USER}[[:space:]]\+\([0-9]\+\)[[:space:]]\+.*/\1/"`
- rm -f /tmp/arb_pids_${USER}_*
+ for arbpid in /tmp/arb_pids_${USER}_* ; do
+ if [ -f "$arbpid" ] ; then
+ rm -f "$arbpid"
+ fi
+ done
else
# # if option --all was given kill all processes trying sudo
sudo kill -9 `ps aux | grep -v "0:0[0-9] grep " | grep -v "0:0[0-9] ps " | \
grep -w -e arb -e arb_ntree | \
grep -v nxagent | \
sed "s/^[a-z0-9]\+[[:space:]]\+\([0-9]\+\)[[:space:]]\+.*/\1/"`
- rm -f /tmp/arb_pids_*_*
+ for arbpid in /tmp/arb_pids_*_* ; do
+ if [ -f "$arbpid" ] ; then
+ rm -f "$arbpid"
+ fi
+ done
fi
More information about the debian-med-commit
mailing list