Summary | ActiveSync crashes if email VEVENT attachment contains invalid DTSTAMP |
Queue | Synchronization |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org, mrubinsk (at) horde (dot) org |
Requester | jeisecke (at) saltation (dot) de |
Created | 06/12/2013 (4408 days ago) |
Due | |
Updated | 06/17/2013 (4403 days ago) |
Assigned | 06/12/2013 (4408 days ago) |
Resolved | 06/17/2013 (4403 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Feedback
commit b3ba127ad527a59177777adc62387bbece045a93
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed Jun 12 09:14:57 2013 -0400
Bug: 12343Fix property names..../Horde/ActiveSync/Message/MeetingRequest.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/b3ba127ad527a59177777adc62387bbece045a93
Assigned to Jan Schneider
Assigned to Michael Rubinsky
State ⇒ Assigned
assigned to $this->starttime, but later in the code $this->start is
referenced. I don't see *that* being assigned anywhere though.
commit dbc058ba962d5fb606acd56fec2846a46fd8fee1
Author: Jan Schneider <jan@horde.org>
Date: Wed Jun 12 13:28:31 2013 +0200
Catch more exeptions (
Bug #12343)..../Horde/ActiveSync/Message/MeetingRequest.php | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/dbc058ba962d5fb606acd56fec2846a46fd8fee1
The mail was in the sent folder.
Unfortunately I've lost the backtrace. The exception was in
Horde/Date.php (Horde_Date_Exception) called from
./ActiveSync/Message/MeetingRequest.php in function _vEvent:
new Horde_Date($vevent->getAttribute('DTSTAMP'))
Seems the like the catch introduced in
18a350af03f5fa71189958716fda9bf5def3fe40 does not catch
Horde_Date_Exception.
State ⇒ Feedback
exception is thrown while parsing that DTSTAMP value of that
attachment.
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ ActiveSync crashes if email VEVENT attachment contains invalid DTSTAMP
Type ⇒ Bug
Priority ⇒ 1. Low
participants to an event.
For some reason the DTSTAMP element of the VEVENT is garbage.
However any further email sync via ActiveSync will crash because an
exception is thrown while parsing that DTSTAMP value of that attachment.
Removing that email from the sent folder obviously helps.
----
Date: Tue, 11 Jun 2013 15:59:40 +0000
To: xxx@horde.local
From: yyy@horde.local
Subject: Test Event
Content-Type: multipart/alternative;
boundary="qmf:252850498hCcmJvBo56zCqaN12pwXSg=="
MIME-Version: 1.0
This message is in MIME format.
--qmf:252850498hCcmJvBo56zCqaN12pwXSg==
Content-Type: text/plain; charset=utf-8
--qmf:252850498hCcmJvBo56zCqaN12pwXSg==
Content-Type: text/calendar; charset=utf-8; method=REQUEST
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19810329T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19961027T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20130611T155940Z
ORGANIZER:MAILTO:xxx@horde.local
ATTENDEE;CN="yyy@horde.local";RSVP=TRUE;
PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;X-UID=13184680:mailto:
yyy@horde.local
DTSTAMP:-4713010T000000
UID:b995e351-9256-4586-a894-a7a2f22d38fb
SUMMARY:Test Event
STATUS:CONFIRMED
DTSTART;TZID=Europe/Berlin:20130611T180000
DTEND;TZID=Europe/Berlin:20130611T190000
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:AUDIO
TRIGGER;VALUE=DURATION:-PT15M
REPEAT:5
DURATION:PT5M
X-KDE-KCALCORE-ENABLED:TRUE
END:VALARM
END:VEVENT
END:VCALENDAR
--qmf:252850498hCcmJvBo56zCqaN12pwXSg==--