[Pkg-wmaker-commits] [wmaker] 01/03: debian/patches/61_fix_wmmenugen_segfault.diff: New patch; fixes segfault in wmmenugen (Closes: #844783).

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Nov 19 16:14:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmaker.

commit ecfab786ff251dcab636ec71680f9ab4a2eeae13
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Sat Nov 19 10:30:04 2016 -0500

    debian/patches/61_fix_wmmenugen_segfault.diff: New patch;
    fixes segfault in wmmenugen (Closes: #844783).
---
 debian/patches/61_fix_wmmenugen_segfault.diff | 21 +++++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/61_fix_wmmenugen_segfault.diff b/debian/patches/61_fix_wmmenugen_segfault.diff
new file mode 100644
index 0000000..093d7f6
--- /dev/null
+++ b/debian/patches/61_fix_wmmenugen_segfault.diff
@@ -0,0 +1,21 @@
+Description:  Fix segfault in wmmenugen
+Origin: http://repo.or.cz/wmaker-crm.git/commitdiff/2ea6162
+Applied-Upstream: http://repo.or.cz/wmaker-crm.git/commitdiff/2ea6162
+Bug-Debian: https://bugs.debian.org/844783
+Last-Update: 2016-11-19
+
+---
+ util/wmmenugen.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/util/wmmenugen.c
++++ b/util/wmmenugen.c
+@@ -106,7 +106,7 @@
+ 	parse_locale(NULL, &env_lang, &env_ctry, &env_enc, &env_mod);
+ 	terminal = find_terminal_emulator();
+ 
+-	for (i = 1; i <= argc; i++)
++	for (i = 1; i < argc; i++)
+ 	{
+ 		if (strncmp(argv[i], "-parser", 7) == 0 &&
+ 		    (argv[i][7] == '=' ||
diff --git a/debian/patches/series b/debian/patches/series
index 535b919..38e53ae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 56_ignore_runstatedir.diff
 57_ignore_with-aix-soname.diff
 60_fix_wraster_symbol_versioning.diff
+61_fix_wmmenugen_segfault.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmaker.git



More information about the Pkg-wmaker-commits mailing list