Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormyheroyuki <myheroyuki@outlook.com>2023-03-06 16:11:16 +0300
committermyheroyuki <myheroyuki@outlook.com>2023-03-06 16:11:16 +0300
commit538afc6ce7ae2970cc3391404b71a2843e718c6c (patch)
tree1b439cbf3929092dc92cfd9a0ea88f47072aac79 /src
parent202076413dd239614abbfc99124a4a1a873ad3f4 (diff)
reduce buffer size to prevent crash on some systems
Diffstat (limited to 'src')
-rw-r--r--src/remmina_ssh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remmina_ssh.c b/src/remmina_ssh.c
index 597d37073..66eb17570 100644
--- a/src/remmina_ssh.c
+++ b/src/remmina_ssh.c
@@ -477,9 +477,10 @@ remmina_ssh_x11_connect_display()
static int
remmina_ssh_cp_to_ch_cb(int fd, int revents, void *userdata)
{
+ REMMINA_DEBUG("SSH time now");
TRACE_CALL(__func__);
ssh_channel channel = (ssh_channel)userdata;
- gchar buf[0x200000];
+ gchar buf[524288];
gint sz = 0, ret = 0;
node_t *temp_node = remmina_ssh_search_item(channel);