summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat/sysstat/CVE-2019-19725.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/sysstat/sysstat/CVE-2019-19725.patch')
-rw-r--r--meta/recipes-extended/sysstat/sysstat/CVE-2019-19725.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat/CVE-2019-19725.patch b/meta/recipes-extended/sysstat/sysstat/CVE-2019-19725.patch
deleted file mode 100644
index 2aa12724f8..0000000000
--- a/meta/recipes-extended/sysstat/sysstat/CVE-2019-19725.patch
+++ /dev/null
@@ -1,28 +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>
-
-Upstream-Status: Backport [https://github.com/sysstat/sysstat/commit/a5c8abd4a481ee6e27a3acf00e6d9b0f023e20ed]
-CVE: CVE-2019-19725
-Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
----
- sa_common.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/sa_common.c b/sa_common.c
-index cf52aefe..856a3715 100644
---- a/sa_common.c
-+++ b/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++) {