Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > c93436f964120d8b6da9b7ec6393a0b2 > files > 1

remmina-1.4.30-2.mga9.src.rpm

From c6adb35b854dcc71895413b120fafaa071645549 Mon Sep 17 00:00:00 2001
From: John Chadwick <johnwchadwick@gmail.com>
Date: Fri, 14 Apr 2023 04:01:41 +0000
Subject: [PATCH] Fix segfault in VNC when using domain socket

---
 plugins/vnc/vnc_plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/vnc/vnc_plugin.c b/plugins/vnc/vnc_plugin.c
index 4fa7b627b..adecffff4 100644
--- a/plugins/vnc/vnc_plugin.c
+++ b/plugins/vnc/vnc_plugin.c
@@ -1716,7 +1716,7 @@ static gboolean remmina_plugin_vnc_open_connection(RemminaProtocolWidget *gp)
 	raw_server = remmina_plugin_service->file_get_string(remminafile, "server");
 
 	if (raw_server && strstr(raw_server, "unix://") == raw_server) {
-		REMMINA_PLUGIN_AUDIT(_("Connected to %s via VNC"), server);
+		REMMINA_PLUGIN_AUDIT(_("Connected to %s via VNC"), raw_server);
 	} else {
 		remmina_plugin_service->get_server_port(raw_server,
 				VNC_DEFAULT_PORT,
-- 
GitLab