[packages/SysVinit] Remove double free() from pidof; rel 10

mmazur mmazur at pld-linux.org
Wed Apr 17 23:10:50 CEST 2013


commit 6c22772a6bcfbf62f0fe11385718560f2509206c
Author: Mariusz Mazur <mmazur at pld-linux.org>
Date:   Wed Apr 17 23:09:06 2013 +0200

    Remove double free() from pidof; rel 10

 SysVinit.spec           | 2 +-
 sysvinit-killall5.patch | 8 --------
 2 files changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/SysVinit.spec b/SysVinit.spec
index 1204c81..55d240d 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:	9
+Release:	10
 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 25d79fd..e2a973e 100644
--- a/sysvinit-killall5.patch
+++ b/sysvinit-killall5.patch
@@ -1,14 +1,6 @@
 diff -u sysvinit-2.88dsf/src/killall5.c sysvinit-2.88dsf/src/killall5.c
 --- sysvinit-2.88dsf/src/killall5.c	2011-12-03 23:12:52.373139250 +0100
 +++ sysvinit-2.88dsf/src/killall5.c	2011-12-03 23:19:21.498025134 +0100
-@@ -479,6 +479,7 @@
- 		if (p->argv1) free(p->argv1);
- 		if (p->statname) free(p->statname);
- 		if (p->pathname) free(p->pathname);
-+		if (p->statname) free(p->statname);
- 		free(p);
- 	}
- 	plist = NULL;
 @@ -496,7 +497,7 @@
  		/* Open the status file. */
  		snprintf(path, sizeof(path), "%s/stat", d->d_name);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SysVinit.git/commitdiff/6c22772a6bcfbf62f0fe11385718560f2509206c



More information about the pld-cvs-commit mailing list