Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pchenthill
evolution-data-server
bnc-242270-array-subscript-out-of-bounds.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc-242270-array-subscript-out-of-bounds.patch of Package evolution-data-server
--- servers/groupwise/e-gw-item.c 2007-02-19 10:32:25.781124722 +0100 +++ servers/groupwise/e-gw-item.c.workingcopy 2007-02-19 12:03:26.755982151 +0100 @@ -3051,7 +3051,7 @@ e_gw_item_set_calendar_item_elements (EG soup_soap_message_start_element (msg, "byDay", NULL, NULL); max_elements = sizeof (rrule->by_day) / sizeof (rrule->by_day[0]); /* expand into a sequence of 'day' here */ - for (i = 0; i <= max_elements && rrule->by_day [i] != E_GW_ITEM_RECUR_END_MARKER; i++) { + for (i = 0; i < max_elements && rrule->by_day [i] != E_GW_ITEM_RECUR_END_MARKER; i++) { /*TODO occurence attribute */ e_gw_message_write_string_parameter (msg, "day", NULL, e_gw_recur_get_day_of_week (rrule->by_day [i])); @@ -3066,7 +3066,7 @@ e_gw_item_set_calendar_item_elements (EG soup_soap_message_start_element (msg, "byMonthDay", NULL, NULL); max_elements = sizeof (rrule->by_month_day) / sizeof (rrule->by_month_day [i]); /* expand into a sequence of 'day' here */ - for (i = 0; i <= max_elements && rrule->by_month_day [i] != E_GW_ITEM_RECUR_END_MARKER; i++) { + for (i = 0; i < max_elements && rrule->by_month_day [i] != E_GW_ITEM_RECUR_END_MARKER; i++) { /*TODO occurence attribute */ g_sprintf (month_day, "%d", rrule->by_month_day [i]); e_gw_message_write_string_parameter (msg, "day", NULL, month_day); @@ -3081,7 +3081,7 @@ e_gw_item_set_calendar_item_elements (EG soup_soap_message_start_element (msg, "byYearDay", NULL, NULL); max_elements = sizeof (rrule->by_year_day) / sizeof (rrule->by_year_day [i]); /* expand into a sequence of 'day' here */ - for (i = 0; i <= max_elements && rrule->by_year_day [i] != E_GW_ITEM_RECUR_END_MARKER; i++) { + for (i = 0; i < max_elements && rrule->by_year_day [i] != E_GW_ITEM_RECUR_END_MARKER; i++) { /*TODO occurence attribute */ g_sprintf (year_day, "%d", rrule->by_year_day [i]); e_gw_message_write_string_parameter (msg, "day", NULL, year_day); @@ -3096,7 +3096,7 @@ e_gw_item_set_calendar_item_elements (EG soup_soap_message_start_element (msg, "byMonth", NULL, NULL); max_elements = sizeof (rrule->by_month) / sizeof (rrule->by_month [i]); /* expand into a sequence of 'month' here */ - for (i = 0; i <= max_elements && rrule->by_month [i] != E_GW_ITEM_RECUR_END_MARKER; i++) { + for (i = 0; i < max_elements && rrule->by_month [i] != E_GW_ITEM_RECUR_END_MARKER; i++) { /*TODO occurence attribute */ g_sprintf (month, "%d", rrule->by_month [i]); e_gw_message_write_string_parameter (msg, "month", NULL, month);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor