[Akonadi] [Bug 492120] crash on parsing outlook event

Cyrille Dunant bugzilla_noreply at kde.org
Sat Aug 24 17:36:44 BST 2024


https://bugs.kde.org/show_bug.cgi?id=492120

--- Comment #3 from Cyrille Dunant <cyrille.dunant at gmail.com> ---
(In reply to Allen Winter from comment #1)
> A few observations:
> 
> As a libical guy, I can see right away that the calendar string is invalid
> since it doesn't end with a "END:VCALENDAR\r\n"
> 
> then looking in EwsFetchCalendarDetailJob::processItems() I see
> format.fromString(memcal, mimeContent); not being checked for a failure
> return and then properly handled.
> 
> maybe something as simple as
> `if(!format.fromString(memcal, mimeContent) continue;`
> or somesuch
> 
> anyway, I can't help test and I'm not up on Akonadi either.
> this one interested me because I thought it might point to a bug in libical.
> I don't that that's the case.

Sorry, I think it may still be in effect a parsing bug: the string is
malformed, yes, but all the information is there, so it would be right, I
think, to still be able to handle this case, as a matter of robustness.

Of course, this is my opinion as a user, for what it's worth.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list