From 4cb916db86570b6d81d110b0a2c0d0b924eafe24 Mon Sep 17 00:00:00 2001 From: oy Date: Mon, 4 Feb 2019 16:32:38 +0100 Subject: [PATCH] sanitize clipboard string. closes #1992 --- src/engine/client/input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/client/input.cpp b/src/engine/client/input.cpp index 712c6c846..d8b62a715 100644 --- a/src/engine/client/input.cpp +++ b/src/engine/client/input.cpp @@ -119,6 +119,7 @@ const char *CInput::GetClipboardText() SDL_free(m_pClipboardText); } m_pClipboardText = SDL_GetClipboardText(); + str_sanitize_cc(m_pClipboardText); return m_pClipboardText; }