Skip to content
Snippets Groups Projects
Commit 91b91734 authored by Hiroyuki Tanaka's avatar Hiroyuki Tanaka
Browse files

[REM-3206] Add null check to prevent crash when pasting empty clipbaord

parent ecb29e78
No related branches found
No related tags found
Loading
......@@ -632,6 +632,9 @@ void remmina_protocol_widget_send_clip_strokes(GtkClipboard *clipboard, const gc
{
TRACE_CALL(__func__);
RemminaProtocolWidget *gp = REMMINA_PROTOCOL_WIDGET(data);
if (clip_text == NULL){
return;
}
gchar *text = g_utf8_normalize(clip_text, -1, G_NORMALIZE_DEFAULT_COMPOSE);
guint *keyvals;
gint i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment