diff --git a/NEWS b/NEWS index d23120a7c..69ae92e56 100644 --- a/NEWS +++ b/NEWS @@ -10,7 +10,8 @@ Bug fixes - Added support for IdP-initiated SAML2 logout (#2377) - We now generate SAML2 metadata on the fly (#2378) - We now handle correctly the SOGo logout when using SAML (#2376 and #2379) - + - Fixed freebusy lookups going off bounds for resources (#3010) + 2.2.10 (2014-11-21) ------------------- diff --git a/UI/MainUI/SOGoUserHomePage.m b/UI/MainUI/SOGoUserHomePage.m index b3527a085..1345e214c 100644 --- a/UI/MainUI/SOGoUserHomePage.m +++ b/UI/MainUI/SOGoUserHomePage.m @@ -229,7 +229,7 @@ // Build a bit string representation of the freebusy data for the period freeBusyItems = NSZoneCalloc (NULL, intervals, sizeof (int)); [self _fillFreeBusyItems: (freeBusyItems+4) - count: intervals + count: (intervals-4) withRecords: [fb fetchFreeBusyInfosFrom: start to: end forContact: uid] fromStartDate: startDate toEndDate: endDate];