From bc7cc39c3790610bb08f7aa0083ab5a6c0fc4d7b Mon Sep 17 00:00:00 2001 From: Sameer Prakash Pradhan Date: Tue, 7 May 2019 17:43:51 +0530 Subject: [PATCH] [ASAN][calendar-service]TFDF-1840 Change-Id: I753e85998d47cef4eb09a0fa3e0a3355a10b2a12 Signed-off-by: Sameer Prakash Pradhan --- common/cal_vcalendar_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cal_vcalendar_parse.c b/common/cal_vcalendar_parse.c index 5f74f63..e13f4ee 100644 --- a/common/cal_vcalendar_parse.c +++ b/common/cal_vcalendar_parse.c @@ -1968,7 +1968,7 @@ static void __work_component_property_dtend(char *value, calendar_record_h recor static void __work_component_property_attendee_mailto(calendar_record_h attendee, char *value) { RET_IF(NULL == value); - RET_IF('\0' == *value); + RET_IF(NULL == *value); RET_IF(NULL == attendee); int ret = 0; -- 2.7.4