lxterminal/lxterminal-0.3.1-return-value-unixterminal.patch
Michael Vetter 03270fa8a1 Accepting request 563409 from home:kbabioch:branches:X11:lxde
- new upstream version 0.3.1:
 * Fix CVE-2016-10369, a Denial-of-Service vulnerability. (boo#1038127)
 * Fix bug that prevents changing tab name, which is introduced since 0.3.0.
 * The keyboard shortcut can be changed by pressing key combinations.
- added lxterminal-0.3.1-return-value-unixterminal.patch to fix compiler warnings

OBS-URL: https://build.opensuse.org/request/show/563409
OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxterminal?expand=0&rev=67
2018-01-12 14:55:55 +00:00

22 lines
724 B
Diff

From fa3542ae702884c59dc2a1df9da22b9b939d5db8 Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
Date: Wed, 8 Nov 2017 15:00:05 +0900
Subject: [PATCH] Properly set return value for lxterminal_socket_initialize
Fixes #40 #41
---
src/unixsocket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/unixsocket.c b/src/unixsocket.c
index b813f52..1874399 100644
--- a/src/unixsocket.c
+++ b/src/unixsocket.c
@@ -263,5 +263,5 @@ static gboolean handle_request(GIOChannel* gio, GIOCondition condition, ClientIn
}
gboolean lxterminal_socket_initialize(LXTermWindow* lxtermwin, gint argc, gchar** argv) {
- init(lxtermwin, argc, argv);
+ return init(lxtermwin, argc, argv);
}