buffer overflow fix 97/213797/1 accepted/tizen/unified/20190912.110519 submit/tizen/20190911.112651
authorSameer Prakash Pradhan <sp.pradhan@samsung.com>
Wed, 11 Sep 2019 10:40:04 +0000 (16:10 +0530)
committerSameer Prakash Pradhan <sp.pradhan@samsung.com>
Wed, 11 Sep 2019 10:40:04 +0000 (16:10 +0530)
Change-Id: Ic1c860eb1ad2a996a25eeaac20c23e8a3b7ec7c9
Signed-off-by: Sameer Prakash Pradhan <sp.pradhan@samsung.com>
common/cal_vcalendar_parse.c

index 6debec8..672ec7a 100644 (file)
@@ -2073,7 +2073,7 @@ static void __work_component_property_attendee_role(calendar_record_h attendee,
 
        /* check mailto */
        if (prop && CAL_STRING_EQUAL == strncmp(value + strlen(prop), ":MAILTO", strlen(":MAILTO")))
-               __work_component_property_attendee_mailto(attendee, value + strlen(prop) + strlen(":MAILTO") +1);
+               __work_component_property_attendee_mailto(attendee, value + strlen(prop) + strlen(":MAILTO"));
 }
 static void __work_component_property_attendee_partstat(calendar_record_h attendee, char *value)
 {