Bug 3116

Summary: invalid DTSTART in ics subscription makes claws crash
Product: Claws Mail (GTK 2) Reporter: Christian Weiske <cweiske>
Component: Plugins/vCalendarAssignee: users
Status: RESOLVED FIXED    
Severity: normal CC: cweiske
Priority: P3    
Version: 3.10.0   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
backtrace none

Description Christian Weiske 2014-03-21 18:43:16 UTC
Created attachment 1353 [details]
backtrace

The crash happens when clicking on the calendar entry in the folder tree.

Program received signal SIGSEGV, Segmentation fault.
icalvalue_get_datetime (value=0x0) at icalderivedvalue.c:878
878		return ((struct icalvalue_impl*)value)->data.v_time;


The ics file (webcal) has an invalid date:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//bdrem
BEGIN:VEVENT
UID:00000401..efb0d8200e317a0ec8e5f35b4cf0c10f@bdrem
DTSTART:????0401
DURATION:P1D
SUMMARY:Welt - . Scherztag
END:VEVENT
END:VCALENDAR
Comment 1 users 2014-04-21 11:43:05 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2014-04-21 11:43:03.471526750 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=9cbf04b2d6a755689d9c21fe8a374d3f1b30e315
Merge: 2588900 6467a95
Author: Colin Leroy <colin@colino.net>
Date:   Mon Apr 21 11:43:03 2014 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=6467a954acdc0f0e256f39f361ffcec44fabff3b
Author: Colin Leroy <colin@colino.net>
Date:   Mon Apr 21 11:41:35 2014 +0200

    Fix recognition of quoted parameter values, which are legal.

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=bd7c33e92da9c2e196113774ccd79a0a0d390a63
Author: Colin Leroy <colin@colino.net>
Date:   Mon Apr 21 11:02:45 2014 +0200

    Fix bug #313, "Crash on reccurent events with no DTSTART"

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=e8333936df5110f9d0a8d73cafc41fcab595f831
Author: Colin Leroy <colin@colino.net>
Date:   Mon Apr 21 10:56:54 2014 +0200

    Fix bug #3116, "invalid DTSTART in ics subscription makes claws crash"