From 4a64c4efbe7293714068035e588faceb32fd5d20 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Wed, 22 Jan 2020 21:27:39 +0900 Subject: [PATCH] Apply secure log in IME interface Change-Id: I6cf97483a032a7211251657e149f6ee519e1a2fa Signed-off-by: Jihoon Kim --- ism/src/scim_helper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ism/src/scim_helper.cpp b/ism/src/scim_helper.cpp index 7876555..af3bf16 100644 --- a/ism/src/scim_helper.cpp +++ b/ism/src/scim_helper.cpp @@ -961,7 +961,7 @@ HelperAgent::handle_message (MessageItem *message) free (m_impl->surrounding_text); m_impl->surrounding_text = strdup (subclass->get_text_ref().c_str ()); m_impl->cursor_pos = subclass->get_cursor_ref(); - LOGD ("surrounding text: %s, %d", m_impl->surrounding_text, subclass->get_cursor_ref()); + SECURE_LOGD ("surrounding text: %s, %d", m_impl->surrounding_text, subclass->get_cursor_ref()); while (m_impl->need_update_surrounding_text > 0) { m_impl->need_update_surrounding_text--; m_impl->signal_update_surrounding_text (this, subclass->get_ic_ref(), @@ -976,7 +976,7 @@ HelperAgent::handle_message (MessageItem *message) free (m_impl->selection_text); m_impl->selection_text = strdup (subclass->get_text_ref().c_str ()); - LOGD ("selection text: %s", m_impl->selection_text); + SECURE_LOGD ("selection text: %s", m_impl->selection_text); while (m_impl->need_update_selection_text > 0) { m_impl->need_update_selection_text--; @@ -1171,7 +1171,7 @@ HelperAgent::handle_message (MessageItem *message) if (!(subclass->get_key_ref().get_key_string().compare("KeyRelease+XF86Back") == 0 || subclass->get_key_ref().get_key_string().compare("XF86Back") == 0)) { ret = m_impl->si->process_key_event (subclass->get_key_ref()); - LOGD("imengine(%s) process key %d return %d", m_impl->si->get_factory_uuid().c_str(), + SECURE_LOGD ("imengine(%s) process key %d return %d", m_impl->si->get_factory_uuid().c_str(), subclass->get_key_ref().code, ret); } } -- 2.7.4