summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-03-19 17:51:18 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-03-20 17:11:29 +0100
commitc52334bdad9845365e6340b89d666bbde62f5d21 (patch)
tree733bd54b0b66feae4199ba1b62dd80bc1c281e60 /x11-libs/libfm
parentsys-libs/libcap: remove unused patch (diff)
downloadgentoo-c52334bdad9845365e6340b89d666bbde62f5d21.tar.gz
gentoo-c52334bdad9845365e6340b89d666bbde62f5d21.tar.bz2
gentoo-c52334bdad9845365e6340b89d666bbde62f5d21.zip
x11-libs/libfm: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/20008 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'x11-libs/libfm')
-rw-r--r--x11-libs/libfm/files/libfm-fix-use-after-free.diff23
1 files changed, 0 insertions, 23 deletions
diff --git a/x11-libs/libfm/files/libfm-fix-use-after-free.diff b/x11-libs/libfm/files/libfm-fix-use-after-free.diff
deleted file mode 100644
index 4a0ae61c40b4..000000000000
--- a/x11-libs/libfm/files/libfm-fix-use-after-free.diff
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -Naur libfm-1.2.3/src/base/fm-config.c libfm-1.2.3-fix-uaf-new2/src/base/fm-config.c
---- libfm-1.2.3/src/base/fm-config.c 2014-10-14 18:29:21.000000000 +0200
-+++ libfm-1.2.3-fix-uaf-new2/src/base/fm-config.c 2016-06-18 18:23:35.721837971 +0200
-@@ -346,7 +346,8 @@
- cfg->modules_blacklist = NULL;
- cfg->system_modules_blacklist = NULL;
- _cfg_monitor_free(cfg);
-- g_free(cfg->_cfg_name);
-+ if(name != cfg->_cfg_name)
-+ g_free(cfg->_cfg_name);
- if(G_LIKELY(!name))
- name = "libfm/libfm.conf";
- else
-@@ -363,7 +364,8 @@
- }
- }
-
-- cfg->_cfg_name = g_strdup(name);
-+ if(name != cfg->_cfg_name)
-+ cfg->_cfg_name = g_strdup(name);
- dirs = g_get_system_config_dirs();
- /* bug SF #887: first dir in XDG_CONFIG_DIRS is the most relevant
- so we shoult process the list in reverse order */