[packages/SysVinit] rel 11; kill the other double free() in pidof
mmazur
mmazur at pld-linux.org
Thu Apr 18 22:10:46 CEST 2013
commit a001ec0724632a66a44710e6ed4c5836fdddd632
Author: Mariusz Mazur <mmazur at pld-linux.org>
Date: Thu Apr 18 22:08:54 2013 +0200
rel 11; kill the other double free() in pidof
What the hell does the killall5.patch do anyway? It's 10 years old and
neither debian nor fedora use it.
SysVinit.spec | 2 +-
sysvinit-killall5.patch | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/SysVinit.spec b/SysVinit.spec
index 55d240d..020b5ab 100644
--- a/SysVinit.spec
+++ b/SysVinit.spec
@@ -13,7 +13,7 @@ Summary(tr.UTF-8): System V başlatma programı
Summary(uk.UTF-8): Програми, що керують базовими системними процесами
Name: SysVinit
Version: 2.88
-Release: 10
+Release: 11
License: GPL v2+
Group: Base
Source0: http://download.savannah.gnu.org/releases/sysvinit/sysvinit-%{version}dsf.tar.bz2
diff --git a/sysvinit-killall5.patch b/sysvinit-killall5.patch
index e2a973e..0361c30 100644
--- a/sysvinit-killall5.patch
+++ b/sysvinit-killall5.patch
@@ -26,7 +26,7 @@ diff -u sysvinit-2.88dsf/src/killall5.c sysvinit-2.88dsf/src/killall5.c
continue;
}
s++;
-@@ -531,23 +532,26 @@
+@@ -531,23 +532,25 @@
/* Get session, startcode, endcode. */
startcode = endcode = 0;
@@ -47,7 +47,6 @@ diff -u sysvinit-2.88dsf/src/killall5.c sysvinit-2.88dsf/src/killall5.c
- nsyslog(LOG_ERR, "can't read sid from %s\n",
- path);
+ nsyslog(LOG_ERR, "can't read sid for pid %d\n", pid);
-+ free(p->statname);
if (p->argv0) free(p->argv0);
if (p->argv1) free(p->argv1);
if (p->statname) free(p->statname);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/SysVinit.git/commitdiff/a001ec0724632a66a44710e6ed4c5836fdddd632
More information about the pld-cvs-commit
mailing list