summaryrefslogtreecommitdiff
path: root/x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch
diff options
context:
space:
mode:
authorGhiunhan Mamut <V3n3RiX@users.noreply.github.com>2018-04-22 23:14:49 +0100
committerGitHub <noreply@github.com>2018-04-22 23:14:49 +0100
commit3ce68add3aa3245f0bdaa225802ce8aaea071fae (patch)
tree4c6fed681ef216c4043b29cfff30d389e463cc82 /x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch
parent5058d152d6717b56e5838c859d7590fd74d87e38 (diff)
parentbed9fb923f6cc27b39b2277bbc7832126e761b1c (diff)
Merge pull request #1 from stratact/master
Update pcmanfm, libfm.Import and update libfm-extra
Diffstat (limited to 'x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch')
-rw-r--r--x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch b/x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch
deleted file mode 100644
index 2acd91bf..00000000
--- a/x11-misc/pcmanfm/files/pcmanfm-1.2.5-CVE-2017-8934.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-# index 8c2049a..876f7f3 100644 (file)
-# --- a/NEWS
-# +++ b/NEWS
-# @@ -1,3 +1,7 @@
-# +* Fixed potential access violation, use runtime user dir instead of tmp dir
-# + for single instance socket.
-# +
-# +
-# Changes on 1.2.5 since 1.2.4:
-
- * Removed options to Cut, Remove and Rename from context menu on mounted
-diff --git a/src/single-inst.c b/src/single-inst.c
-index 62c37b3..aaf84ab 100644 (file)
---- a/src/single-inst.c
-+++ b/src/single-inst.c
-@@ -2,7 +2,7 @@
- * single-inst.c: simple IPC mechanism for single instance app
- *
- * Copyright 2010 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
-- * Copyright 2012 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
-+ * Copyright 2012-2017 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
-@@ -404,11 +404,16 @@ static void get_socket_name(SingleInstData* data, char* buf, int len)
- }
- else
- dpynum = 0;
-+#if GLIB_CHECK_VERSION(2, 28, 0)
-+ g_snprintf(buf, len, "%s/%s-socket-%s-%d", g_get_user_runtime_dir(),
-+ data->prog_name, host ? host : "", dpynum);
-+#else
- g_snprintf(buf, len, "%s/.%s-socket-%s-%d-%s",
- g_get_tmp_dir(),
- data->prog_name,
- host ? host : "",
- dpynum,
- g_get_user_name());
-+#endif
- }