sysstat: update to 12.2.1.
This commit is contained in:
parent
f18fa4aca4
commit
8921aea6db
2 changed files with 3 additions and 27 deletions
|
@ -1,24 +0,0 @@
|
||||||
From a5c8abd4a481ee6e27a3acf00e6d9b0f023e20ed Mon Sep 17 00:00:00 2001
|
|
||||||
From: Sebastien GODARD <sysstat@users.noreply.github.com>
|
|
||||||
Date: Mon, 9 Dec 2019 17:54:07 +0100
|
|
||||||
Subject: [PATCH] Fix #242: Double free in check_file_actlst()
|
|
||||||
|
|
||||||
Avoid freeing buffer() twice.
|
|
||||||
|
|
||||||
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
|
|
||||||
---
|
|
||||||
sa_common.c | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/sa_common.c b/sa_common.c
|
|
||||||
index cf52aefe..856a3715 100644
|
|
||||||
--- sa_common.c
|
|
||||||
+++ sa_common.c
|
|
||||||
@@ -2153,6 +2153,7 @@ void check_file_actlst(int *ifd, char *dfile, struct activity *act[], uint64_t f
|
|
||||||
}
|
|
||||||
|
|
||||||
free(buffer);
|
|
||||||
+ buffer = NULL;
|
|
||||||
|
|
||||||
/* Check that at least one activity selected by the user is available in file */
|
|
||||||
for (i = 0; i < NR_ACT; i++) {
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sysstat'
|
# Template file for 'sysstat'
|
||||||
pkgname=sysstat
|
pkgname=sysstat
|
||||||
version=12.2.0
|
version=12.2.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-copy-only --disable-file-attr
|
configure_args="--enable-copy-only --disable-file-attr
|
||||||
--with-systemdsystemunitdir= --enable-install-cron"
|
--with-systemdsystemunitdir= --enable-install-cron"
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://pagesperso-orange.fr/sebastien.godard/"
|
homepage="http://pagesperso-orange.fr/sebastien.godard/"
|
||||||
distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.xz"
|
distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.xz"
|
||||||
checksum=61aa98eb8b38542eb97defcc2472adee1a24df8252f41b96e20d64c6064a8375
|
checksum=8edb0e19b514ac560a098a02933a4735b881296d61014db89bf80f05dd7a4732
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's/lib64/lib/' configure
|
sed -i 's/lib64/lib/' configure
|
||||||
|
|
Loading…
Reference in a new issue