[Pkg-php-commits] [php/debian-lenny] Fix CVE-2011-0441: arbitrary files removal via cronjob (Closes #618489)
Raphael Geissert
geissert at debian.org
Sun Mar 20 01:27:18 UTC 2011
---
debian/php5-common.php5.cron.d | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/debian/php5-common.php5.cron.d b/debian/php5-common.php5.cron.d
index a4e73a8..3513944 100644
--- a/debian/php5-common.php5.cron.d
+++ b/debian/php5-common.php5.cron.d
@@ -4,4 +4,4 @@
# files, or 24 minutes if not defined. See /usr/lib/php5/maxlifetime
# Look for and purge old sessions every 30 minutes
-09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm
+09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete
--
1.7.1
More information about the Pkg-php-commits
mailing list