From: Myungki Lee Date: Wed, 18 Jan 2017 05:25:51 +0000 (+0900) Subject: Add exception handling for '%' X-Git-Tag: submit/tizen_3.0/20170118.065338^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e261e710c04cc8466350ecd5e136a6a19d30233;p=platform%2Fcore%2Fapi%2Fnotification.git Add exception handling for '%' - At get_text,'%' is not to be ignored. Change-Id: Ie633e80d8ff7f7de5116f4fe17612a3e4e1ebb80 Signed-off-by: Myungki Lee --- diff --git a/src/notification.c b/src/notification.c index f53a67da..a696ddbd 100755 --- a/src/notification.c +++ b/src/notification.c @@ -733,7 +733,11 @@ EXPORT_API int notification_get_text(notification_h noti, strncat(result_str, buf_str, max_len); temp_str += 3; + } else { + strncat(result_str, temp_str, 1); } + } else { + strncat(result_str, temp_str, 1); } }