diff --git a/cronie-anacron-closefd.patch b/cronie-anacron-closefd.patch index 4b9c0a5..be70966 100644 --- a/cronie-anacron-closefd.patch +++ b/cronie-anacron-closefd.patch @@ -5,7 +5,7 @@ diff -up cronie-1.4.5/anacron/main.c.fd cronie-1.4.5/anacron/main.c record_start_time(); read_tab(cwd); -+ fclose(cwd); ++ close(cwd); arrange_jobs(); if (testing_only) diff --git a/cronie.spec b/cronie.spec index 9730d5a..785cce9 100644 --- a/cronie.spec +++ b/cronie.spec @@ -6,7 +6,7 @@ Summary: Cron daemon for executing programs at set times Name: cronie Version: 1.4.5 -Release: 3%{?dist} +Release: 4%{?dist} License: MIT and BSD and ISC and GPLv2 Group: System Environment/Base URL: https://fedorahosted.org/cronie @@ -195,7 +195,7 @@ cp -a /var/lock/subsys/crond /var/lock/subsys/cronie > /dev/null 2>&1 ||: %attr(0644,root,root) %{_sysconfdir}/cron.d/dailyjobs %changelog -* Fri Aug 13 2010 Marcela Mašláňová - 1.4.5-3 +* Fri Aug 13 2010 Marcela Mašláňová - 1.4.5-4 - 623908 fix fd leak in anacron, which caused denail of prelink and others